mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix docs typo: app.middlewares -> app.middleware
This commit is contained in:
parent
fef31be2bc
commit
20f0e9f320
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue