From c3218300334ba8f916f5208e8df4e426efb69dfb Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Mon, 5 May 2008 22:47:07 +0200 Subject: revised conventions in url_for docs --- actionpack/lib/action_controller/url_rewriter.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'actionpack') diff --git a/actionpack/lib/action_controller/url_rewriter.rb b/actionpack/lib/action_controller/url_rewriter.rb index b143806818..3a38f23396 100644 --- a/actionpack/lib/action_controller/url_rewriter.rb +++ b/actionpack/lib/action_controller/url_rewriter.rb @@ -29,16 +29,16 @@ module ActionController # Generate a url based on the options provided, default_url_options and the # routes defined in routes.rb. The following options are supported: # - # * :only_path If true, the relative url is returned. Defaults to +false+. - # * :protocol The protocol to connect to. Defaults to 'http'. - # * :host Specifies the host the link should be targetted at. + # * :only_path - If true, the relative url is returned. Defaults to +false+. + # * :protocol - The protocol to connect to. Defaults to 'http'. + # * :host - Specifies the host the link should be targetted at. # If :only_path is false, this option must be # provided either explicitly, or via +default_url_options+. - # * :port Optionally specify the port to connect to. - # * :anchor An anchor name to be appended to the path. - # * :skip_relative_url_root If true, the url is not constructed using the + # * :port - Optionally specify the port to connect to. + # * :anchor - An anchor name to be appended to the path. + # * :skip_relative_url_root - If true, the url is not constructed using the # +relative_url_root+ set in ActionController::AbstractRequest.relative_url_root. - # * :trailing_slash If true, adds a trailing slash, as in "/archive/2009/" + # * :trailing_slash - If true, adds a trailing slash, as in "/archive/2009/" # # Any other key (:controller, :action, etc.) given to # +url_for+ is forwarded to the Routes module. -- cgit v1.2.3