summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-10-12 15:55:21 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-10-12 15:55:21 +0000
commit718816c5d4b0c45ce1def155c9f517fb5ac91e35 (patch)
treee93a1b1140dabe388d1988feabbc133443d15d08 /app/views
parent71dd4b8a7db0208be22175a69fb71909933f4c57 (diff)
downloadredmine-718816c5d4b0c45ce1def155c9f517fb5ac91e35.tar.gz
redmine-718816c5d4b0c45ce1def155c9f517fb5ac91e35.zip
Refactor: convert timelogs to a REST resource (:time_entries)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4250 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/timelog/_list.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/timelog/_list.rhtml b/app/views/timelog/_list.rhtml
index e11695ebf..28f1f5239 100644
--- a/app/views/timelog/_list.rhtml
+++ b/app/views/timelog/_list.rhtml
@@ -31,7 +31,7 @@
:title => l(:button_edit) %>
<%= link_to image_tag('delete.png'), {:controller => 'timelog', :action => 'destroy', :id => entry, :project_id => nil},
:confirm => l(:text_are_you_sure),
- :method => :post,
+ :method => :delete,
:title => l(:button_delete) %>
<% end -%>
</td>