osem-fcy/app/controllers/tickets_controller.rb
Chrisbr 5f8a8ac6d9 Refactoring Tickets
- Tickets now independent from registration
- Implemented money gem
#419
2014-08-28 15:21:05 +02:00

8 lines
258 B
Ruby

class TicketsController < ApplicationController
before_filter :verify_user
load_resource :conference, find_by: :short_title
load_resource :tickets, class: Ticket
authorize_resource :conference_registrations, class: Registration
def index; end
end