Applies new card design for polls in proposals dashboard.
Fixes warnings during tests.
Adds tests for new card design for polls in proposals dashboard.
This commit is contained in:
Juan Salvador Pérez García
2018-07-23 10:31:50 +02:00
parent f632fa8b6e
commit 3b37b4b09d
7 changed files with 25 additions and 16 deletions

View File

@@ -45,7 +45,7 @@ module AdminHelper
end
def menu_proposals_dashboard?
["proposal_dashboard_actions", "administrator_tasks"].include?(controller_name)
["actions", "administrator_tasks"].include?(controller_name)
end
def official_level_options