diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-05-12 15:37:00 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-05-16 14:52:04 -0500 |
commit | 0ec2ee71b31ea604a677e28ffb84f3ded1701395 (patch) | |
tree | cffbcbdb68c8a46c343c19ee43e7f8c81a0fcaf7 /app/helpers/events_helper.rb | |
parent | b2fc0a51a61669b46516c2a21cbd0abd893ff124 (diff) | |
download | gitlab-ce-0ec2ee71b31ea604a677e28ffb84f3ded1701395.tar.gz |
Rename `Event#note_project_snippet?` to `project_snippet_note?`
Diffstat (limited to 'app/helpers/events_helper.rb')
-rw-r--r-- | app/helpers/events_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/events_helper.rb b/app/helpers/events_helper.rb index d7ddb31dbb7..19281e3f3aa 100644 --- a/app/helpers/events_helper.rb +++ b/app/helpers/events_helper.rb @@ -93,7 +93,7 @@ module EventsHelper namespace_project_commit_path(event.project.namespace, event.project, event.note_commit_id, anchor: dom_id(event.target)) - elsif event.note_project_snippet? + elsif event.project_snippet_note? namespace_project_snippet_path(event.project.namespace, event.project, event.note_target) else @@ -156,7 +156,7 @@ module EventsHelper ) do "#{event.note_target_type} #{event.note_short_commit_id}" end - elsif event.note_project_snippet? + elsif event.project_snippet_note? link_to(namespace_project_snippet_path(event.project.namespace, event.project, event.note_target), title: event.project.name) do |