diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-06-14 23:14:32 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-06-14 23:14:47 +0530 |
commit | ff859f542cde9108b66c14c810a7e3c190f3f12f (patch) | |
tree | 9cc646c3d0d6b44ec450c70575d8f3b1932d2d27 /guides | |
parent | cd4a0a333214b9045c5034ea2cf7bacb32ff78c6 (diff) | |
download | rails-ff859f542cde9108b66c14c810a7e3c190f3f12f.tar.gz rails-ff859f542cde9108b66c14c810a7e3c190f3f12f.tar.bz2 rails-ff859f542cde9108b66c14c810a7e3c190f3f12f.zip |
modify middleware docs [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/rails_on_rack.textile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/rails_on_rack.textile b/guides/source/rails_on_rack.textile index cf1fbef1f5..63712b22ef 100644 --- a/guides/source/rails_on_rack.textile +++ b/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 |