Browse files

reverting changes from commit b0896c3

  • Loading branch information...
1 parent a91c7b4 commit a1c7b0ecfc30b0c644d49b3c55747838d734b97c @5v3n 5v3n committed Aug 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/url_helper.rb
View
2 actionpack/lib/action_view/helpers/url_helper.rb
@@ -338,7 +338,7 @@ def link_to(name = nil, options = nil, html_options = nil, &block)
# # </form>"
#
#
- # <%= button_to "Delete Image", { :action => "destroy", :id => @image.id },
+ # <%= button_to "Delete Image", { :action => "delete", :id => @image.id },
# :method => :delete, :data => { :confirm => "Are you sure?" } %>
# # => "<form method="post" action="/images/delete/1" class="button_to">
# # <div>

0 comments on commit a1c7b0e

Please sign in to comment.