Fixed some links in tasks module.
This commit is contained in:
parent
0e4b6107ba
commit
be321798a7
4 changed files with 5 additions and 4 deletions
|
|
@ -30,6 +30,6 @@
|
|||
|
||||
|
||||
%p
|
||||
= link_to "Bearbeiten", :action => "edit", :id => @task
|
||||
= link_to "Bearbeiten", edit_task_path(@task)
|
||||
|
|
||||
= link_to "Löschen", {:action => "destroy", :id => @task}, :method => "post", :confirm => "Die Aufgabe wirklich löschen?"
|
||||
= link_to "Löschen", task_path(@task), :method => :delete, :confirm => "Die Aufgabe wirklich löschen?"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue