Fix error 500 when target is nil on todo list

This commit is contained in:
Douglas Barbosa Alexandre
2016-03-30 12:09:34 -03:00
parent 8718acdf80
commit 07e1ec5dc1
+4 -1
View File
@@ -10,7 +10,10 @@
(removed)
%span.todo-label
= todo_action_name(todo)
= todo_target_link(todo)
- if todo.target
= todo_target_link(todo)
- else
(removed)
· #{time_ago_with_tooltip(todo.created_at)}