diff options
author | Andreas Maierhofer <a.maierhofer@gmail.com> | 2016-12-05 11:53:44 +0100 |
---|---|---|
committer | Andreas Maierhofer <a.maierhofer@gmail.com> | 2016-12-05 11:53:44 +0100 |
commit | d52ad0541ee6f4dd1c37c12ad5a6a68d948f9aac (patch) | |
tree | c8bcb916ab881886a3b8c1be9ef28f3d60989376 | |
parent | 057c8f257d57f99a6bb80c59429cac2aab3422da (diff) | |
download | rails-d52ad0541ee6f4dd1c37c12ad5a6a68d948f9aac.tar.gz rails-d52ad0541ee6f4dd1c37c12ad5a6a68d948f9aac.tar.bz2 rails-d52ad0541ee6f4dd1c37c12ad5a6a68d948f9aac.zip |
Update url_helper.rb, adjust link_to api doc
Removed references to `button` in the `link_to` `disable_with` api
description.
-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 |