class method
self.method_added
Ruby on Rails 7.2.3
Since v3.0.20Signature
self.method_added(name)
Refresh the cached action_methods when a new action_method is added.
Parameters
-
namereq
Source
# File actionpack/lib/abstract_controller/base.rb, line 125
def method_added(name)
super
clear_action_methods!
end
Defined in actionpack/lib/abstract_controller/base.rb line 125
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in AbstractController::Base