This commit is contained in:
agrim mittal 2017-03-10 16:16:39 +00:00 committed by GitHub
commit 8541e47f88
7 changed files with 30 additions and 31 deletions

View file

@ -133,21 +133,6 @@ module ApplicationHelper
result
end
def bootstrap_class_for(flash_type)
case flash_type
when 'success'
'alert-success'
when 'error'
'alert-danger'
when 'alert'
'alert-warning'
when 'notice'
'alert-info'
else
'alert-warning'
end
end
def label_for(event_state)
result = ''
case event_state