Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tiny doc fix for link_to_remote simulated :delete example. Closes #6962.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 6e1e088b8f843662c6236751896999cd4e797656 1 parent 2bb33bb
@jeremy jeremy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/helpers/prototype_helper.rb
View
2  actionpack/lib/action_view/helpers/prototype_helper.rb
@@ -63,7 +63,7 @@ module PrototypeHelper
# can simulate PUT or DELETE over POST. All specified with <tt>options[:method]</tt>
#
# Example:
- # link_to_remote "Destroy", person_url(:id => person), :method => :delete
+ # link_to_remote "Destroy", :url => person_url(:id => person), :method => :delete
#
# By default, these remote requests are processed asynchronous during
# which various JavaScript callbacks can be triggered (for progress
Please sign in to comment.
Something went wrong with that request. Please try again.