method
inherited_with_helper
rails latest stable - Class:
ActionController::Helpers::ClassMethods
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