Files
grecia/app/helpers/admin/proposal_dashboard_actions_helper.rb
Juan Salvador Pérez García e5f9cf6710 Fixed #239
Proposals dashboard refactored to dashboard.
Added missing specs for the dashboard.
2018-07-24 15:52:43 +02:00

7 lines
202 B
Ruby

module Admin::ProposalDashboardActionsHelper
def active_human_readable(active)
return t('admin.dashboard.actions.index.active') if active
t('admin.dashboard.actions.index.inactive')
end
end