Merge pull request #58 from pmoghaddam/fix_middleware_order

Update middleware order to resolve flash.keep issue and unnecessary logging
This commit is contained in:
John Bintz 2015-07-03 09:21:33 -04:00
commit f5cbf07d21
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ Then add the middleware to your Rails middleware stack by editing your `config/e
MyApp::Application.configure do
# 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