diff options
author | Matt Campbell <mecampbell25@gmail.com> | 2014-02-24 14:03:43 -0500 |
---|---|---|
committer | Matt Campbell <mecampbell25@gmail.com> | 2014-02-24 14:17:18 -0500 |
commit | 44c5813502aa377f4da72cbdc01698a109638b10 (patch) | |
tree | 6f8689a35e363009077179843810c018758c1c89 | |
parent | 947b3cbaa2f07aabd2ee9178643ab983af2a8de8 (diff) | |
download | rails-44c5813502aa377f4da72cbdc01698a109638b10.tar.gz rails-44c5813502aa377f4da72cbdc01698a109638b10.tar.bz2 rails-44c5813502aa377f4da72cbdc01698a109638b10.zip |
[skip ci] Fix typo in link_to :method option description
-rw-r--r-- | actionview/lib/action_view/helpers/url_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/url_helper.rb b/actionview/lib/action_view/helpers/url_helper.rb index 3ccace1274..51379d433f 100644 --- a/actionview/lib/action_view/helpers/url_helper.rb +++ b/actionview/lib/action_view/helpers/url_helper.rb @@ -82,7 +82,7 @@ module ActionView # to using GET. If <tt>href: '#'</tt> is used and the user has JavaScript # disabled clicking the link will have no effect. If you are relying on the # POST behavior, you should check for it in your controller's action by using - # the request object's methods for <tt>post?</tt>, <tt>delete?</tt>, <tt>:patch</tt>, or <tt>put?</tt>. + # the request object's methods for <tt>post?</tt>, <tt>delete?</tt>, <tt>patch?</tt>, or <tt>put?</tt>. # * <tt>remote: true</tt> - This will allow the unobtrusive JavaScript # driver to make an Ajax request to the URL in question instead of following # the link. The drivers each provide mechanisms for listening for the |