mirror of https://github.com/rails/rails
link_to_remote -> link_to :remote => true
This commit is contained in:
parent
b9c48f519f
commit
9e1e95f70a
|
@ -77,7 +77,7 @@ module ActionView
|
|||
#
|
||||
# Then, in another view, you could to do something like this:
|
||||
#
|
||||
# <%= link_to_remote 'Logout', :action => 'logout' %>
|
||||
# <%= link_to 'Logout', :action => 'logout', :remote => true %>
|
||||
#
|
||||
# <% content_for :script do %>
|
||||
# <%= javascript_include_tag :defaults %>
|
||||
|
|
Loading…
Reference in New Issue