diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-05-07 22:37:56 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-05-07 22:38:00 +0530 |
commit | e35ba99e4b305d347de8737b6c2fcbd9b7ce6b02 (patch) | |
tree | e78349afaf374e5861fd667a1f9fe0f7d3732206 /railties/guides/source | |
parent | 448845cd0dab1018f1bfc11dde5bbcd129abe93f (diff) | |
download | rails-e35ba99e4b305d347de8737b6c2fcbd9b7ce6b02.tar.gz rails-e35ba99e4b305d347de8737b6c2fcbd9b7ce6b02.tar.bz2 rails-e35ba99e4b305d347de8737b6c2fcbd9b7ce6b02.zip |
remove unnecessary use of 'Example'
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/rails_on_rack.textile | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/railties/guides/source/rails_on_rack.textile b/railties/guides/source/rails_on_rack.textile index b1db2942dd..aa53aa6db6 100644 --- a/railties/guides/source/rails_on_rack.textile +++ b/railties/guides/source/rails_on_rack.textile @@ -117,8 +117,6 @@ You can add a new middleware to the middleware stack using any of the following * +config.middleware.insert_after(existing_middleware, new_middleware, args)+ - Adds the new middleware after the specified existing middleware in the middleware stack. -<strong>Example:</strong> - <ruby> # config/environment.rb @@ -134,8 +132,6 @@ h5. Swapping a Middleware You can swap an existing middleware in the middleware stack using +config.middleware.swap+. -<strong>Example:</strong> - <ruby> # config/environment.rb @@ -173,8 +169,6 @@ h4. Customizing Internal Middleware Stack It's possible to replace the entire middleware stack with a custom stack using +ActionController::Dispatcher.middleware=+. -<strong>Example:</strong> - Put the following in an initializer: <ruby> |