aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-09-23 12:13:15 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-09-23 12:13:15 -0300
commitdd13722c264a84e81ce15a6ec168c84d4db460ca (patch)
tree5ca695d9096402272ced916e248dad00b156ead2 /actionview
parenteec00b8c03273d006aa12505bde32e2a2547b670 (diff)
parentfa0cff484a8f0c99480b7545fc77610009723147 (diff)
downloadrails-dd13722c264a84e81ce15a6ec168c84d4db460ca.tar.gz
rails-dd13722c264a84e81ce15a6ec168c84d4db460ca.tar.bz2
rails-dd13722c264a84e81ce15a6ec168c84d4db460ca.zip
Merge pull request #10773 from wangjohn/link_and_routing_options
Adding documentation and tests to ``polymorphic_url`` and ``link_to``
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/helpers/url_helper.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/actionview/lib/action_view/helpers/url_helper.rb b/actionview/lib/action_view/helpers/url_helper.rb
index 1920a94567..8a4918a8c0 100644
--- a/actionview/lib/action_view/helpers/url_helper.rb
+++ b/actionview/lib/action_view/helpers/url_helper.rb
@@ -92,8 +92,9 @@ module ActionView
# ==== Data attributes
#
# * <tt>confirm: 'question?'</tt> - This will allow the unobtrusive JavaScript
- # driver to prompt with the question specified. If the user accepts, the link is
- # processed normally, otherwise no action is taken.
+ # driver to prompt with the question specified (in this case, the
+ # resulting text would be <tt>question?</tt>. If the user accepts, the
+ # link is processed normally, otherwise no action is taken.
# * <tt>:disable_with</tt> - Value of this parameter will be
# used as the value for a disabled version of the submit
# button when the form is submitted. This feature is provided