mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-14 12:14:03 +00:00
13 lines
361 B
Ruby
13 lines
361 B
Ruby
|
|
class PhysicalTicketController < ApplicationController
|
||
|
|
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 = current_user.physical_tickets.by_conference(@conference)
|
||
|
|
end
|
||
|
|
|
||
|
|
def show; end
|
||
|
|
end
|