Fixed some links in tasks module.
This commit is contained in:
parent
0e4b6107ba
commit
be321798a7
4 changed files with 5 additions and 4 deletions
|
|
@ -56,6 +56,7 @@ class TasksController < ApplicationController
|
|||
|
||||
def destroy
|
||||
Task.find(params[:id]).destroy
|
||||
flash[:notice] = "Aufgabe wurde gelöscht"
|
||||
redirect_to :action => "index"
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue