Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

link_to_remote -> link_to :remote => true

  • Loading branch information...
commit 9e1e95f70af3c566190f47ee7a52fd49f785ec12 1 parent b9c48f5
@jeremy jeremy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/helpers/capture_helper.rb
View
2  actionpack/lib/action_view/helpers/capture_helper.rb
@@ -77,7 +77,7 @@ def capture(*args)
#
# 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 %>
Please sign in to comment.
Something went wrong with that request. Please try again.