Initializer middleware helper needs to require actioncontroller
This commit is contained in:
parent
67f5d611f5
commit
14870257c1
@ -109,6 +109,7 @@ def framework_root_path
|
|||||||
|
|
||||||
# TODO: Fix this when there is an application object
|
# TODO: Fix this when there is an application object
|
||||||
def middleware
|
def middleware
|
||||||
|
require 'action_controller'
|
||||||
ActionController::Dispatcher.middleware
|
ActionController::Dispatcher.middleware
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user