Changes routes to use namespaced budget investments in management

This commit is contained in:
kikito
2016-12-02 19:13:47 +01:00
parent 00cfb95913
commit 1fbd91383c

View File

@@ -286,11 +286,13 @@ Rails.application.routes.draw do
get :print, on: :collection
end
resources :budget_investments, only: [:index, :new, :create, :show] do
namespace :budgets do
resources :investments, only: [:index, :new, :create, :show] do
post :vote, on: :member
get :print, on: :collection
end
end
end
if Rails.env.development?
mount LetterOpenerWeb::Engine, at: "/letter_opener"