diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-05-11 21:21:48 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2016-05-11 21:21:48 +0000 |
commit | 44f6e34bb52acd0784b15913e00a9de7486870cb (patch) | |
tree | ff3ce86bd71026669c65be752486e9207cffb055 | |
parent | 459af7ff655d731c4a0f9de0a6202d64468042cb (diff) | |
parent | b523dec83dc832029c6e40daaeb121920bbcd394 (diff) | |
download | gitlab-ce-44f6e34bb52acd0784b15913e00a9de7486870cb.tar.gz |
Merge branch 'rs-remove-icon_for_event' into 'master'
Remove unused `icon_for_event` helper
Extracted from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4090
See merge request !4120
-rw-r--r-- | app/helpers/events_helper.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/app/helpers/events_helper.rb b/app/helpers/events_helper.rb index 592bad8ba24..0bf328e7d19 100644 --- a/app/helpers/events_helper.rb +++ b/app/helpers/events_helper.rb @@ -39,15 +39,6 @@ module EventsHelper end end - def icon_for_event - { - EventFilter.push => 'upload', - EventFilter.merged => 'check-square-o', - EventFilter.comments => 'comments', - EventFilter.team => 'user', - } - end - def event_preposition(event) if event.push? || event.commented? || event.target "at" |