diff options
author | Sven Kräuter <sven@makingthingshappen.de> | 2012-08-31 17:08:07 +0300 |
---|---|---|
committer | Sven Kräuter <sven@makingthingshappen.de> | 2012-08-31 17:08:07 +0300 |
commit | 30123653993cd3ef6eda9a4299f287e945d963f3 (patch) | |
tree | 88e0e27e48486b6fa1e24e52feff538cdf1601cd | |
parent | 030af5e9243a57c2e8bda523ca23fb7d6f5575ed (diff) | |
download | rails-30123653993cd3ef6eda9a4299f287e945d963f3.tar.gz rails-30123653993cd3ef6eda9a4299f287e945d963f3.tar.bz2 rails-30123653993cd3ef6eda9a4299f287e945d963f3.zip |
there is no "delete" action in a controller
-rw-r--r-- | actionpack/lib/action_view/helpers/url_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb index fe3240fdc1..c4f79c669e 100644 --- a/actionpack/lib/action_view/helpers/url_helper.rb +++ b/actionpack/lib/action_view/helpers/url_helper.rb @@ -338,7 +338,7 @@ module ActionView # # </form>" # # - # <%= button_to "Delete Image", { :action => "delete", :id => @image.id }, + # <%= button_to "Delete Image", { :action => "destroy", :id => @image.id }, # :method => :delete, :data => { :confirm => "Are you sure?" } %> # # => "<form method="post" action="/images/delete/1" class="button_to"> # # <div> |