Method: AbstractController::Base.clear_action_methods!

Defined in:
actionpack/lib/abstract_controller/base.rb

.clear_action_methods!Object

action_methods are cached and there is sometimes a need to refresh them. ::clear_action_methods! allows you to do that, so next time you run action_methods, they will be recalculated.



112
113
114
# File 'actionpack/lib/abstract_controller/base.rb', line 112

def clear_action_methods!
  @action_methods = nil
end