Changed physical_ticket to plural

This commit is contained in:
rishabhptr 2017-09-26 21:43:18 +05:30 committed by Stella Rouzi
parent 2247231d6e
commit 568d89b620
12 changed files with 10 additions and 10 deletions

View file

@ -1,14 +0,0 @@
module Admin
class PhysicalTicketController < Admin::BaseController
before_action :authenticate_user!
load_resource :conference, find_by: :short_title
load_and_authorize_resource
authorize_resource :conference_registrations, class: Registration
def index
@physical_tickets = @conference.physical_tickets
@tickets_sold_distribution = @conference.tickets_sold_distribution
@tickets_turnover_distribution = @conference.tickets_turnover_distribution
end
end
end