method

url_for

url_for(options)
public

Returns the URL for the given options, according to the rules specified in the application’s routes.