decidim-admin/config/routes.rb in decidim-0.4.3 vs decidim-admin/config/routes.rb in decidim-0.4.4

- old
+ new

@@ -21,23 +21,25 @@ post :resend_invitation, to: "participatory_process_user_roles#resend_invitation" end end resources :attachments, controller: "participatory_process_attachments" + resources :moderations do + member do + put :unreport + put :hide + end + end + end + + scope "/participatory_processes/:participatory_process_id" do resources :features do resource :permissions, controller: "feature_permissions" member do put :publish put :unpublish end resources :exports, only: :create - end - - resources :moderations do - member do - put :unreport - put :hide - end end end scope "/participatory_processes/:participatory_process_id/features/:feature_id/manage" do Decidim.feature_manifests.each do |manifest|