Update middleware order to resolve flash.keep issue and unnecessary logging

This commit is contained in:
Payam Moghaddam 2014-10-11 22:09:22 -07:00
parent 952ea670dd
commit 9a4316ce37

View File

@ -26,7 +26,7 @@ Then add the middleware to your Rails middleware stack by editing your `config/e
MyApp::Application.configure do MyApp::Application.configure do
# Add Rack::LiveReload to the bottom of the middleware stack with the default options. # Add Rack::LiveReload to the bottom of the middleware stack with the default options.
config.middleware.use Rack::LiveReload config.middleware.insert_after ActionDispatch::Static, Rack::LiveReload
# ... # ...
end end