From 20f0e9f3203560f34f451a37130caf237bb94867 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Thu, 29 Apr 2010 11:43:09 -0700 Subject: [PATCH] Fix docs typo: app.middlewares -> app.middleware --- railties/lib/rails/engine.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railties/lib/rails/engine.rb b/railties/lib/rails/engine.rb index 36fcc896ae..ab0ead65a9 100644 --- a/railties/lib/rails/engine.rb +++ b/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 #