Skip to content

Commit

Permalink
modify middleware docs [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaydev committed Jun 14, 2012
1 parent cd4a0a3 commit ff859f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/source/rails_on_rack.textile
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ff859f5

Please sign in to comment.