mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[skip ci] Fix typo in link_to :method option description
This commit is contained in:
parent
947b3cbaa2
commit
44c5813502
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue