module AbstractController::Helpers::ClassMethods
def clear_helpers
Clears up all existing helpers in this class, only keeping the helper
def clear_helpers inherited_helper_methods = _helper_methods self._helpers = Module.new self._helper_methods = Array.new inherited_helper_methods.each { |meth| helper_method meth } default_helper_module! unless anonymous? end