This commit is contained in:
Josh Frye 2016-03-10 13:29:59 -05:00
parent c8d06b7001
commit c554d0cf64
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ module TodosHelper
def todo_target_link(todo)
target = todo.target_type.titleize.downcase
link_to "#{target} #{todo.target.to_reference}", todo_target_path(todo), {title: todo.target.nil? ? h(target) : h(todo.target.title)}
link_to "#{target} #{todo.target.to_reference}", todo_target_path(todo), { title: todo.target.nil? ? h(target) : h(todo.target.title) }
end
def todo_target_path(todo)