link_to_remote -> link_to :remote => true

This commit is contained in:
Jeremy Kemper 2010-03-15 23:05:12 -07:00
parent b9c48f519f
commit 9e1e95f70a
1 changed files with 1 additions and 1 deletions

View File

@ -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 %>