2017-04-11 18:52:02 -04:00
|
|
|
* Add `action_controller_api` and `action_controller_base` load hooks to be called in `ActiveSupport.on_load`
|
|
|
|
|
|
|
|
`ActionController::Base` and `ActionController::API` have differing implementations. This means that
|
|
|
|
the one umbrella hook `action_controller` is not able to address certain situations where a method
|
|
|
|
may not exist in a certain implementation.
|
|
|
|
|
|
|
|
This is fixed by adding two new hooks so you can target `ActionController::Base` vs `ActionController::API`
|
|
|
|
|
|
|
|
Fixes #27013.
|
|
|
|
|
|
|
|
*Julian Nadeau*
|
|
|
|
|
2017-04-29 13:41:44 -04:00
|
|
|
|
2017-03-21 19:41:39 -04:00
|
|
|
Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/actionpack/CHANGELOG.md) for previous changes.
|