Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

modify middleware docs [ci skip]

  • Loading branch information...
commit ff859f542cde9108b66c14c810a7e3c190f3f12f 1 parent cd4a0a3
@vijaydev vijaydev authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 guides/source/rails_on_rack.textile
View
4 guides/source/rails_on_rack.textile
@@ -195,7 +195,7 @@ use Rack::Runtime
run Blog::Application.routes
</shell>
-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:
<ruby>
# config/application.rb
@@ -204,7 +204,7 @@ config.middleware.delete "ActionDispatch::Session::CookieStore"
config.middleware.delete "ActionDispatch::Flash"
</ruby>
-and you can also remove browser related middleware
+And to remove browser related middleware,
<ruby>
# config/application.rb
Please sign in to comment.
Something went wrong with that request. Please try again.