Permalink
Browse files

Use DELETE requests for deleting time entries

  • Loading branch information...
1 parent 2eb1d5b commit 54043b8be161d53e7df1eb792bcab2ab27089ac3 @edavis10 committed Dec 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/timesheet/_time_entry.rhtml
@@ -24,7 +24,7 @@
:title => l(:button_edit) %>
<%= link_to image_tag('delete.png'), {:controller => 'timelog', :action => 'destroy', :id => time_entry},
:confirm => l(:text_are_you_sure),
- :method => :post,
+ :method => :delete,
:title => l(:button_delete) %>
<% end -%>
</td>

0 comments on commit 54043b8

Please sign in to comment.