diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-10-15 23:37:01 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-10-15 23:37:01 +0000 |
commit | ce99f3247fba90c1d87fceb64fa2f9385c6f4c26 (patch) | |
tree | f3a2b83dae11216baa423b55a418a54bc3593b45 /app | |
parent | c8177b99ed3b917ecb2d36bec023229459588d34 (diff) | |
download | redmine-ce99f3247fba90c1d87fceb64fa2f9385c6f4c26.tar.gz redmine-ce99f3247fba90c1d87fceb64fa2f9385c6f4c26.zip |
Use HTTP DELETE when deleting a time entry. #6674
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4259 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/my/blocks/_timelog.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/my/blocks/_timelog.rhtml b/app/views/my/blocks/_timelog.rhtml index fdff465e2..e3735357e 100644 --- a/app/views/my/blocks/_timelog.rhtml +++ b/app/views/my/blocks/_timelog.rhtml @@ -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> |