repairing code reviews

This commit is contained in:
Rishabh Saxena 2016-06-26 08:07:00 +02:00
parent ee71456060
commit f202c6b93b
5 changed files with 21 additions and 27 deletions

View file

@ -81,7 +81,7 @@ class Ability
can :index, Ticket
can :manage, TicketPurchase, user_id: user.id
can [:index, :new, :create], Payment
can :manage, Payment, user_id: user.id
can [:create, :destroy], Subscription, user_id: user.id