Adds new route and matching ability for administrators

This commit is contained in:
kikito
2016-12-28 17:42:47 +01:00
parent 010aeaa9ac
commit f7c505392a
2 changed files with 4 additions and 2 deletions

View File

@@ -165,7 +165,9 @@ Rails.application.routes.draw do
end
end
resources :budget_investments, only: [:index, :show, :edit, :update]
resources :budget_investments, only: [:index, :show, :edit, :update] do
member { patch :toggle_selection }
end
end
resources :signature_sheets, only: [:index, :new, :create, :show]