Allow admin to show/generate ticket

Created physical ticket controller and views for admin.
This commit is contained in:
siddhantbajaj 2017-06-26 04:04:36 +05:30
parent f37d3095e1
commit 3d4adb5683
4 changed files with 59 additions and 5 deletions

View file

@ -81,6 +81,7 @@ Osem::Application.routes.draw do
resources :targets, except: [:show]
resources :campaigns, except: [:show]
resources :emails, only: [:show, :update, :index]
resources :physical_ticket, only: [:index]
resources :roles, except: [ :new, :create ] do
member do
post :toggle_user