Flash uniformity done in a bunch of files
This commit is contained in:
parent
1e9f4b514c
commit
598606547e
9 changed files with 37 additions and 39 deletions
|
|
@ -2,6 +2,8 @@ class TicketPurchasesController < ApplicationController
|
|||
before_filter :authenticate_user!
|
||||
load_resource :conference, find_by: :short_title
|
||||
authorize_resource :conference_registrations, class: Registration
|
||||
add_flash_types :error
|
||||
add_flash_types :alert
|
||||
|
||||
def create
|
||||
message = TicketPurchase.purchase(@conference, current_user, params[:tickets][0])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue