Skip to content
This repository
Browse code

modify middleware docs [ci skip]

  • Loading branch information...
commit ff859f542cde9108b66c14c810a7e3c190f3f12f 1 parent cd4a0a3
Vijay Dev authored June 14, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  guides/source/rails_on_rack.textile
4  guides/source/rails_on_rack.textile
Source Rendered
@@ -195,7 +195,7 @@ use Rack::Runtime
195 195
 run Blog::Application.routes
196 196
 </shell>
197 197
 
198  
-You can also remove session related middleware appending the following lines to your application configuration
  198
+If you want to remove session related middleware, do the following:
199 199
 
200 200
 <ruby>
201 201
 # config/application.rb
@@ -204,7 +204,7 @@ config.middleware.delete "ActionDispatch::Session::CookieStore"
204 204
 config.middleware.delete "ActionDispatch::Flash"
205 205
 </ruby>
206 206
 
207  
-and you can also remove browser related middleware
  207
+And to remove browser related middleware,
208 208
 
209 209
 <ruby>
210 210
 # config/application.rb

0 notes on commit ff859f5

Please sign in to comment.
Something went wrong with that request. Please try again.