Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-03-18 19:24:47 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-03-18 19:24:47 +0300
commit2a8858ca8adbc54d7e24e698fa8ce370a1e91157 (patch)
treef57df67358d3c113412e9f9f910e18515f835ddf /app/helpers/todos_helper.rb
parent05975e96f98521a219788a0bec3d6f71458833e1 (diff)
Rename `Todo#to_reference` to `Todo#target_reference`
Since we're not actually returning a todo reference.
Diffstat (limited to 'app/helpers/todos_helper.rb')
-rw-r--r--app/helpers/todos_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/todos_helper.rb b/app/helpers/todos_helper.rb
index 9604a4e01b4..edc5686cf08 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.to_reference}", todo_target_path(todo), { title: h(todo.target.title) }
+ link_to "#{target} #{todo.target_reference}", todo_target_path(todo), { title: todo.target.title }
end
def todo_target_path(todo)