aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-10-26 15:56:48 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-10-26 15:56:48 +0000
commitb9ffbd3166fae25fe3b18c60ce2de2bdde166fb5 (patch)
treed1a309729cb896610e737359fe9c3cf8d79662f0 /actionpack/lib/action_controller
parent0f5f05b51ec7a90d9eeb1592df9c497b190f15a0 (diff)
downloadrails-b9ffbd3166fae25fe3b18c60ce2de2bdde166fb5.tar.gz
rails-b9ffbd3166fae25fe3b18c60ce2de2bdde166fb5.tar.bz2
rails-b9ffbd3166fae25fe3b18c60ce2de2bdde166fb5.zip
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
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r--actionpack/lib/action_controller/templates/scaffolds/list.rhtml2
1 files changed, 1 insertions, 1 deletions
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 %>
<td><%= link_to "Show", :action => "show#{@scaffold_suffix}", :id => entry %></td>
<td><%= link_to "Edit", :action => "edit#{@scaffold_suffix}", :id => entry %></td>
- <td><%= link_to "Destroy", {:action => "destroy#{@scaffold_suffix}", :id => entry}, { :confirm => "Are you sure?", :post => true} %></td>
+ <td><%= link_to "Destroy", {:action => "destroy#{@scaffold_suffix}", :id => entry}, { :confirm => "Are you sure?", :method => :post } %></td>
</tr>
<% end %>
</table>