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

@@ -45,7 +45,7 @@ module Abilities
can [:index, :read, :new, :create, :update, :destroy], Budget
can [:read, :create, :update, :destroy], Budget::Group
can [:read, :create, :update, :destroy], Budget::Heading
can [:hide, :update], Budget::Investment
can [:hide, :update, :toggle_selection], Budget::Investment
can :valuate, Budget::Investment, budget: { valuating: true }
can :create, Budget::ValuatorAssignment