public Method

RouteSet.install_helpers(destinations = [ActionController::Base, ActionView::Base], regenerate_code = false)

There's no documentation for this item.

Source Code

# File action_controller/routing/route_set.rb, line 223
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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.