]> source.dussan.org Git - redmine.git/commitdiff
Use HTTP DELETE when deleting a time entry. #6674
authorEric Davis <edavis@littlestreamsoftware.com>
Fri, 15 Oct 2010 23:37:01 +0000 (23:37 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Fri, 15 Oct 2010 23:37:01 +0000 (23:37 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4259 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/my/blocks/_timelog.rhtml

index fdff465e2ed5a7f188319f125f874352d5a4d10d..e3735357e72e403b017a26d94b93cbac2ce46855 100644 (file)
@@ -40,7 +40,7 @@ entries_by_day = entries.group_by(&:spent_on)
                                            :title => l(:button_edit) %>
         <%= link_to image_tag('delete.png'), {:controller => 'timelog', :action => 'destroy', :id => entry},
                                              :confirm => l(:text_are_you_sure),
-                                             :method => :post,
+                                             :method => :delete,
                                              :title => l(:button_delete) %>
     <% end -%>
     </td>