diff options
author | Josh Frye <joshfng@gmail.com> | 2016-03-10 20:30:50 -0500 |
---|---|---|
committer | Josh Frye <joshfng@gmail.com> | 2016-03-11 10:16:44 -0500 |
commit | 52c934a8eb78a331cb7f246fdc547604edf589aa (patch) | |
tree | 04ad6296a180e04d820dc19d6ed0fad5dd1ce127 /app/helpers/todos_helper.rb | |
parent | c554d0cf6451c8807373a74f5d6cac36212c6c91 (diff) | |
download | gitlab-ce-52c934a8eb78a331cb7f246fdc547604edf589aa.tar.gz |
Title attributes for activity feed
Diffstat (limited to 'app/helpers/todos_helper.rb')
-rw-r--r-- | app/helpers/todos_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/todos_helper.rb b/app/helpers/todos_helper.rb index 03523e93696..07ddc691d85 100644 --- a/app/helpers/todos_helper.rb +++ b/app/helpers/todos_helper.rb @@ -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: h(todo.target.title) } end def todo_target_path(todo) |