method

inherited_with_helper

rails latest stable - Class: ActionController::Helpers::ClassMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

inherited_with_helper(child)
private

No documentation available.

# File actionpack/lib/action_controller/helpers.rb, line 207
        def inherited_with_helper(child)
          inherited_without_helper(child)

          begin
            child.master_helper_module = Module.new
            child.master_helper_module.__send__ :include, master_helper_module
            child.__send__ :default_helper_module!
          rescue MissingSourceFile => e
            raise unless e.is_missing?("helpers/#{child.controller_path}_helper")
          end
        end