Edit Budget Investment only in accepting phase (#3716)

This way users who made a typo can fix it before the investment is reviewed.
This commit is contained in:
denialtorres
2019-10-18 06:59:14 -05:00
committed by Javier Martín
parent 970c3238fb
commit bb627a7117
13 changed files with 82 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
resources :budgets, only: [:show, :index] do
resources :groups, controller: "budgets/groups", only: [:show]
resources :investments, controller: "budgets/investments", only: [:index, :new, :create, :show, :destroy] do
resources :investments, controller: "budgets/investments" do
member do
post :vote
put :flag