Browse files

Fix docs typo: app.middlewares -> app.middleware

  • Loading branch information...
1 parent fef31be commit 20f0e9f3203560f34f451a37130caf237bb94867 @jeremy jeremy committed Apr 29, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/engine.rb
View
2 railties/lib/rails/engine.rb
@@ -42,7 +42,7 @@ module Rails
# config.load_paths << File.expand_path("../lib/some/path", __FILE__)
#
# initializer "my_engine.add_middleware" do |app|
- # app.middlewares.use MyEngine::Middleware
+ # app.middleware.use MyEngine::Middleware
# end
# end
#

0 comments on commit 20f0e9f

Please sign in to comment.