Changes routes to use namespaced budget investments in management
This commit is contained in:
@@ -286,9 +286,11 @@ Rails.application.routes.draw do
|
|||||||
get :print, on: :collection
|
get :print, on: :collection
|
||||||
end
|
end
|
||||||
|
|
||||||
resources :budget_investments, only: [:index, :new, :create, :show] do
|
namespace :budgets do
|
||||||
post :vote, on: :member
|
resources :investments, only: [:index, :new, :create, :show] do
|
||||||
get :print, on: :collection
|
post :vote, on: :member
|
||||||
|
get :print, on: :collection
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user