aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-01-12 07:33:26 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-01-12 07:33:26 +0000
commit6e1e088b8f843662c6236751896999cd4e797656 (patch)
tree5e5f7c62e170c6754ac706fd1ae899f2f8b0c151 /actionpack/lib/action_view
parent2bb33bbd590b1217f0a6576de34105ab1db3510c (diff)
downloadrails-6e1e088b8f843662c6236751896999cd4e797656.tar.gz
rails-6e1e088b8f843662c6236751896999cd4e797656.tar.bz2
rails-6e1e088b8f843662c6236751896999cd4e797656.zip
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
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r--actionpack/lib/action_view/helpers/prototype_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/prototype_helper.rb b/actionpack/lib/action_view/helpers/prototype_helper.rb
index 78da33f139..71fe29db9a 100644
--- a/actionpack/lib/action_view/helpers/prototype_helper.rb
+++ b/actionpack/lib/action_view/helpers/prototype_helper.rb
@@ -63,7 +63,7 @@ module ActionView
# 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