Skip to content

Commit

Permalink
remove unnecessary use of 'Example'
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaydev committed May 7, 2011
1 parent 448845c commit e35ba99
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions railties/guides/source/rails_on_rack.textile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit e35ba99

Please sign in to comment.