add resource, ability and controller for payments

This commit is contained in:
Rishabh Saxena 2016-07-27 19:37:02 +05:30
parent ee0a575a6f
commit 8f39fc83d2
3 changed files with 50 additions and 0 deletions

View file

@ -112,6 +112,7 @@ Osem::Application.routes.draw do
resource :conference_registration, path: 'register'
resources :tickets, only: [:index]
resources :ticket_purchases, only: [:create, :destroy]
resources :payments, only: [:index, :new, :create]
resource :subscriptions, only: [:create, :destroy]
resource :schedule, only: [:show] do
member do