saucy/app/helpers/application_helper.rb

10 lines
178 B
Ruby

module ApplicationHelper
def member_status(status)
t("members.status.#{status}")
end
def notification_status(status)
t("notifications.status.#{status}")
end
end