Proposals dashboard refactored to dashboard.
Added missing specs for the dashboard.
This commit is contained in:
Juan Salvador Pérez García
2018-07-24 15:52:43 +02:00
parent 0ea0a0031c
commit e5f9cf6710
82 changed files with 1131 additions and 694 deletions

View File

@@ -1,6 +1,6 @@
module Admin::ProposalDashboardActionsHelper
def active_human_readable(active)
return t('admin.proposal_dashboard_actions.index.active') if active
t('admin.proposal_dashboard_actions.index.inactive')
return t('admin.dashboard.actions.index.active') if active
t('admin.dashboard.actions.index.inactive')
end
end