diff --git a/railties/lib/rails/railtie.rb b/railties/lib/rails/railtie.rb index 1d6a2de87d..f0d9d95fc4 100644 --- a/railties/lib/rails/railtie.rb +++ b/railties/lib/rails/railtie.rb @@ -70,7 +70,7 @@ module Rails # # class MyRailtie < Rails::Railtie # initializer "my_railtie.configure_rails_initialization" do |app| - # app.middlewares.use MyRailtie::Middleware + # app.middleware.use MyRailtie::Middleware # end # end #