18 lines
294 B
Ruby
18 lines
294 B
Ruby
module ApplicationHelper
|
|
def member_status(status)
|
|
t("members.status.#{status}")
|
|
end
|
|
|
|
def notification_status(status)
|
|
t("notifications.status.#{status}")
|
|
end
|
|
|
|
def bool_option(value)
|
|
if value
|
|
t('option.positive')
|
|
else
|
|
t('option.negative')
|
|
end
|
|
end
|
|
end
|