Remove unused `icon_for_event` helper
This commit is contained in:
parent
f7d2297c86
commit
b523dec83d
|
@ -39,15 +39,6 @@ module EventsHelper
|
||||||
end
|
end
|
||||||
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)
|
def event_preposition(event)
|
||||||
if event.push? || event.commented? || event.target
|
if event.push? || event.commented? || event.target
|
||||||
"at"
|
"at"
|
||||||
|
|
Loading…
Reference in New Issue