diff --git a/config/routes.rb b/config/routes.rb index a25e2cf9e..1460e6c20 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -67,7 +67,7 @@ Rails.application.routes.draw do end scope '/participatory_budget' do - resources :spending_proposals, only: [:index, :new, :create, :show] + resources :spending_proposals, only: [:index, :new, :create, :show], path: 'investment_projects' end resources :stats, only: [:index] @@ -131,7 +131,7 @@ Rails.application.routes.draw do end end - resources :spending_proposals, only: [:index, :show] do + resources :spending_proposals, only: [:index, :show], path: 'investment_projects' do member do put :accept put :reject