method
install_helpers
v3.2.13 -
Show latest stable
- Class:
ActionDispatch::Routing::RouteSet
install_helpers(destinations = [ActionController::Base, ActionView::Base], regenerate_code = false)public
No documentation available.
# File actionpack/lib/action_dispatch/routing/route_set.rb, line 307
def install_helpers(destinations = [ActionController::Base, ActionView::Base], regenerate_code = false)
Array(destinations).each { |d| d.module_eval { include Helpers } }
named_routes.install(destinations, regenerate_code)
end