Adds route for ballot & ballot lines

This commit is contained in:
kikito
2016-06-07 11:12:29 +02:00
parent 5f5e7b7c07
commit 43aec952bf

View File

@@ -73,6 +73,9 @@ Rails.application.routes.draw do
resources :investments, controller: "budgets/investments", only: [:index, :new, :create, :show, :destroy] do
member { post :vote }
end
resource :ballot, only: :show do
resources :lines, controller: "budgets/ballot/lines", only: [:create, :destroy]
end
end
scope '/participatory_budget' do