From b9ffbd3166fae25fe3b18c60ce2de2bdde166fb5 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 26 Oct 2006 15:56:48 +0000 Subject: Fix scaffolding from using deprecated :post => true (closes #6499) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5366 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/templates/scaffolds/list.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_controller') diff --git a/actionpack/lib/action_controller/templates/scaffolds/list.rhtml b/actionpack/lib/action_controller/templates/scaffolds/list.rhtml index fad2aab7e4..fea23dc66f 100644 --- a/actionpack/lib/action_controller/templates/scaffolds/list.rhtml +++ b/actionpack/lib/action_controller/templates/scaffolds/list.rhtml @@ -14,7 +14,7 @@ <% end %> <%= link_to "Show", :action => "show#{@scaffold_suffix}", :id => entry %> <%= link_to "Edit", :action => "edit#{@scaffold_suffix}", :id => entry %> - <%= link_to "Destroy", {:action => "destroy#{@scaffold_suffix}", :id => entry}, { :confirm => "Are you sure?", :post => true} %> + <%= link_to "Destroy", {:action => "destroy#{@scaffold_suffix}", :id => entry}, { :confirm => "Are you sure?", :method => :post } %> <% end %> -- cgit v1.2.3