Initializer middleware helper needs to require actioncontroller

This commit is contained in:
Joshua Peek 2009-08-31 21:09:16 -05:00
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