From b41729b12905c8ceccc9dfc3ccc289810dddada1 Mon Sep 17 00:00:00 2001 From: rgarcia Date: Sun, 21 Feb 2016 20:58:42 +0100 Subject: [PATCH] uses investment_projects urls --- config/routes.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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