Adds delete link to budget investment list in user activities

This commit is contained in:
kikito
2017-03-06 19:24:10 +01:00
parent 24920e73f6
commit 3dbdc8f455
6 changed files with 26 additions and 3 deletions

View File

@@ -298,7 +298,7 @@ Rails.application.routes.draw do
get :support_investments
get :print_investments
end
resources :investments, only: [:index, :new, :create, :show], controller: 'budgets/investments' do
resources :investments, only: [:index, :new, :create, :show, :destroy], controller: 'budgets/investments' do
post :vote, on: :member
get :print, on: :collection
end