Allow moderators to hide inappropriate investments

This commit is contained in:
Angel Perez
2018-06-18 01:16:26 -04:00
parent 7bb1da1804
commit 1990092fdf
6 changed files with 42 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ namespace :moderation do
put :moderate, on: :collection
end
resources :budget_investments, only: :index do
resources :budget_investments, only: :index, controller: 'budgets/investments' do
put :hide, on: :member
put :moderate, on: :collection
end