uses investment_projects urls

This commit is contained in:
rgarcia
2016-02-21 20:58:42 +01:00
parent a95fb75103
commit b41729b129

View File

@@ -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