lib/decidim/admin/engine.rb in decidim-admin-0.5.1 vs lib/decidim/admin/engine.rb in decidim-admin-0.6.0

- old
+ new

@@ -48,23 +48,9 @@ decidim_admin.root_path, icon_name: "dashboard", position: 1, active: ["decidim/admin/dashboard" => :show] - menu.item I18n.t("menu.participatory_processes", scope: "decidim.admin"), - decidim_admin.participatory_processes_path, - icon_name: "target", - position: 2, - active: :inclusive, - if: can?(:manage, Decidim::ParticipatoryProcess) - - menu.item I18n.t("menu.participatory_process_groups", scope: "decidim.admin"), - decidim_admin.participatory_process_groups_path, - icon_name: "layers", - position: 3, - active: :inclusive, - if: can?(:read, Decidim::ParticipatoryProcessGroup) - menu.item I18n.t("menu.static_pages", scope: "decidim.admin"), decidim_admin.static_pages_path, icon_name: "book", position: 4, active: :inclusive,