Flowdock
method

default_helper_module!

Importance_0
v3.2.13 - Show latest stable - 0 notes - Class: AbstractController::Helpers::ClassMethods
default_helper_module!() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/abstract_controller/helpers.rb, line 156
      def default_helper_module!
        module_name = name.sub(/Controller$/, '')
        module_path = module_name.underscore
        helper module_path
      rescue MissingSourceFile => e
        raise e unless e.is_missing? "helpers/#{module_path}_helper"
      rescue NameError => e
        raise e unless e.missing_name? "#{module_name}Helper"
      end
Register or log in to add new notes.