diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-08-01 12:20:20 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-08-01 12:20:20 +0200 |
commit | 21b870c906ee23ea3f8055e66aa16476f5369055 (patch) | |
tree | 55d990730ffc09fd868cbe4dd5f1c60874298da8 /actionpack/lib/action_controller | |
parent | 7c03190344e42aa215f52e8c2ccfda073b43590b (diff) | |
download | rails-21b870c906ee23ea3f8055e66aa16476f5369055.tar.gz rails-21b870c906ee23ea3f8055e66aa16476f5369055.tar.bz2 rails-21b870c906ee23ea3f8055e66aa16476f5369055.zip |
docs, custom api base controllers shoudl subclass metal. [ci skip]
This is a follow up to #21008.
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/api.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/api.rb b/actionpack/lib/action_controller/api.rb index 3af63b8892..b4594bf302 100644 --- a/actionpack/lib/action_controller/api.rb +++ b/actionpack/lib/action_controller/api.rb @@ -90,7 +90,7 @@ module ActionController # Shortcut helper that returns all the ActionController::API modules except # the ones passed as arguments: # - # class MetalController + # class MyAPIBaseController < ActionController::Metal # ActionController::API.without_modules(:ForceSSL, :UrlFor).each do |left| # include left # end |