method
inherited_with_helper
v2.0.3 -
Show latest stable
- Class:
ActionController::Helpers::ClassMethods
inherited_with_helper(child)private
No documentation available.
# File actionpack/lib/action_controller/helpers.rb, line 186
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