mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-13 14:46:05 +10:00
Remove unused icon_for_event helper
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user