Remove invalid links in ActionView::Helpers::UrlHelper documentation. Closes #1961.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3041 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
f2ee215bec
commit
05d580dffa
@ -10,7 +10,7 @@ module UrlHelper
|
||||
include JavaScriptHelper
|
||||
|
||||
# Returns the URL for the set of +options+ provided. This takes the same options
|
||||
# as url_for. For a list, see the url_for documentation in link:classes/ActionController/Base.html#M000079.
|
||||
# as url_for. For a list, see the documentation for ActionController::Base#url_for.
|
||||
# Note that it'll set :only_path => true so you'll get /controller/action instead of the
|
||||
# http://example.com/controller/action part (makes it harder to parse httpd log files)
|
||||
def url_for(options = {}, *parameters_for_method_reference)
|
||||
@ -19,7 +19,7 @@ def url_for(options = {}, *parameters_for_method_reference)
|
||||
end
|
||||
|
||||
# Creates a link tag of the given +name+ using an URL created by the set of +options+. See the valid options in
|
||||
# link:classes/ActionView/Helpers/UrlHelper.html#M000304. It's also possible to pass a string instead of an options hash to
|
||||
# the documentation for ActionController::Base#url_for. It's also possible to pass a string instead of an options hash to
|
||||
# get a link tag that just points without consideration. If nil is passed as a name, the link itself will become the name.
|
||||
#
|
||||
# The html_options has three special features. One for creating javascript confirm alerts where if you pass :confirm => 'Are you sure?',
|
||||
|
Loading…
Reference in New Issue
Block a user