instance method
default_helper_module!
Ruby on Rails 7.1.6
Since v3.0.20 PrivateSignature
default_helper_module!()
No documentation comment.
Source
# File actionpack/lib/abstract_controller/helpers.rb, line 250
def default_helper_module!
helper_prefix = name.delete_suffix("Controller")
helper(helper_prefix)
rescue NameError => e
raise unless e.missing_name?("#{helper_prefix}Helper")
end
Defined in actionpack/lib/abstract_controller/helpers.rb line 250
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in AbstractController::Helpers::ClassMethods