From 9a4316ce37ea8c8efa9a9807e1aa6ef5102865cf Mon Sep 17 00:00:00 2001 From: Payam Moghaddam Date: Sat, 11 Oct 2014 22:09:22 -0700 Subject: [PATCH] Update middleware order to resolve flash.keep issue and unnecessary logging --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e4e0e19..f6d9307 100644 --- a/README.md +++ b/README.md @@ -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