Fixed some links in tasks module.

This commit is contained in:
Benjamin Meichsner 2010-06-10 23:25:13 +02:00
parent 0e4b6107ba
commit be321798a7
4 changed files with 5 additions and 4 deletions

View file

@ -9,7 +9,7 @@
- done = task.done ? " done" : ""
%tr{:class => cycle('even','odd', :name => "tasks") + done }
%td= format_date(task.due_date) unless task.due_date.nil?
%td= link_to task.name, :controller => "tasks", :action => "show", :id => task
%td= link_to task.name, task_path(task)
%td
- unless task.users.empty?
- owner = Array.new