method
default_helper_module!
default_helper_module!()
private
Hide source
# File actionpack/lib/action_controller/helpers.rb, line 190 def default_helper_module! unless name.blank? module_name = name.sub(/Controller$|$/, 'Helper') module_path = module_name.split('::').map { |m| m.underscore }.join('/') require_dependency module_path helper module_name.constantize end rescue MissingSourceFile => e raise unless e.is_missing? module_path rescue NameError => e raise unless e.missing_name? module_name end