From 43aec952bf89eef298d7c70919c319e6f8eb77f2 Mon Sep 17 00:00:00 2001 From: kikito Date: Tue, 7 Jun 2016 11:12:29 +0200 Subject: [PATCH] Adds route for ballot & ballot lines --- config/routes.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/routes.rb b/config/routes.rb index bcc6b7b84..efbd26686 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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