diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb index fe3240fdc1b7..c4f79c669e60 100644 --- a/actionpack/lib/action_view/helpers/url_helper.rb +++ b/actionpack/lib/action_view/helpers/url_helper.rb @@ -338,7 +338,7 @@ def link_to(name = nil, options = nil, html_options = nil, &block) # # " # # - # <%= 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?" } %> # # => "
# #