データベースでいくつかの行を削除しようとしていますが、破棄アクションを呼び出すと、更新アクションが機能します。
これはdelete.html.hamlです
=form_for @post, :url => {:action => 'destroy', :id => @post.id} do |f|
これがルートです
resources :post
root :to => "post#index"
match '/delete/:id/', :to => "post#delete"
どうしたの?誰か分かりますか?