diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2016-12-05 13:52:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-05 13:52:24 -0500 |
commit | d8533e116e9f951f0dd9c2abcc916627ff49dd64 (patch) | |
tree | fafd02dbeceb8535ac7b0dbdd9f916a10174f792 | |
parent | 1f143686f3cfdf52c3816b9925c683bb77451f23 (diff) | |
parent | d52ad0541ee6f4dd1c37c12ad5a6a68d948f9aac (diff) | |
download | rails-d8533e116e9f951f0dd9c2abcc916627ff49dd64.tar.gz rails-d8533e116e9f951f0dd9c2abcc916627ff49dd64.tar.bz2 rails-d8533e116e9f951f0dd9c2abcc916627ff49dd64.zip |
Merge pull request #27269 from amaierhofer/adjust_link_to_api_doc
[ci skip] Remove button reference in `link_to` api doc
-rw-r--r-- | actionview/lib/action_view/helpers/url_helper.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/actionview/lib/action_view/helpers/url_helper.rb b/actionview/lib/action_view/helpers/url_helper.rb index 1277126995..22cc4b2920 100644 --- a/actionview/lib/action_view/helpers/url_helper.rb +++ b/actionview/lib/action_view/helpers/url_helper.rb @@ -105,10 +105,9 @@ module ActionView # 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 - # by the unobtrusive JavaScript driver. + # * <tt>:disable_with</tt> - Value of this parameter will be used as the + # name for a disabled version of the link. This feature is provided by + # the unobtrusive JavaScript driver. # # ==== Examples # Because it relies on +url_for+, +link_to+ supports both older-style controller/action/id arguments |