ActionView::RoutingUrlFor

module ActionView::RoutingUrlFor

Public Instance Methods

url_for(options = nil) Show source

Returns the URL for the set of options provided. This takes the same options as url_for in Action Controller (see the documentation for ActionController::Base#url_for). Note that by default :only_path is true so you'll get the relative “/controller/action” instead of the fully qualified URL like “登录查看完整内容