Browse files

modify middleware docs [ci skip]

  • Loading branch information...
1 parent cd4a0a3 commit ff859f542cde9108b66c14c810a7e3c190f3f12f @vijaydev vijaydev committed Jun 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 guides/source/rails_on_rack.textile
@@ -195,7 +195,7 @@ use Rack::Runtime
run Blog::Application.routes
-You can also remove session related middleware appending the following lines to your application configuration
+If you want to remove session related middleware, do the following:
# config/application.rb
@@ -204,7 +204,7 @@ config.middleware.delete "ActionDispatch::Session::CookieStore"
config.middleware.delete "ActionDispatch::Flash"
-and you can also remove browser related middleware
+And to remove browser related middleware,
# config/application.rb

0 comments on commit ff859f5

Please sign in to comment.