add payment resources, controllers and method for updating purchased ticket's parameters
This commit is contained in:
parent
36f2cf4373
commit
900a1b32a8
4 changed files with 47 additions and 0 deletions
|
|
@ -81,6 +81,7 @@ class Ability
|
|||
|
||||
can :index, Ticket
|
||||
can :manage, TicketPurchase, user_id: user.id
|
||||
can [:index, :new, :create], Payment
|
||||
|
||||
can [:create, :destroy], Subscription, user_id: user.id
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue