mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 06:01:12 +00:00
fix quotes on tickets
This commit is contained in:
parent
1fbbbdae6e
commit
0b04179be9
3 changed files with 4 additions and 4 deletions
|
|
@ -35,7 +35,7 @@ module Admin
|
|||
if @splashpage.destroy
|
||||
redirect_to admin_conference_splashpage_path, notice: 'Splashpage was successfully destroyed.'
|
||||
else
|
||||
redirect_to admin_conference_splashpage_path, alert: "A error prohibited this Splashpage from being destroyed: "\
|
||||
redirect_to admin_conference_splashpage_path, alert: 'A error prohibited this Splashpage from being destroyed: '\
|
||||
"#{@splashpage.errors.full_messages.join('. ')}."
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ module Admin
|
|||
notice: 'Ticket successfully destroyed.')
|
||||
else
|
||||
redirect_to(admin_conference_tickets_path(conference_id: @conference.short_title),
|
||||
alert: "Ticket was successfully destroyed." \
|
||||
alert: 'Ticket was successfully destroyed.' \
|
||||
"#{@ticket.errors.full_messages.join('. ')}.")
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ class TicketPurchasesController < ApplicationController
|
|||
message = TicketPurchase.purchase(@conference, current_user, params[:tickets][0])
|
||||
if message.blank?
|
||||
redirect_to conference_conference_registrations_path(@conference.short_title),
|
||||
notice: "Congratulations, you have successfully purchased a ticket! " \
|
||||
notice: 'Congratulations, you have successfully purchased a ticket! ' \
|
||||
"You can pay it cash on check in! Thank you for supporting #{@conference.title}!"
|
||||
else
|
||||
redirect_to conference_conference_registrations_path(@conference.short_title),
|
||||
|
|
@ -22,7 +22,7 @@ class TicketPurchasesController < ApplicationController
|
|||
notice: 'Ticket successfully destroyed.'
|
||||
else
|
||||
redirect_to conference_conference_registrations_path(@conference.short_title),
|
||||
notice: "A error prohibited deleting your purchase! "\
|
||||
notice: 'A error prohibited deleting your purchase! '\
|
||||
"#{@ticket_purchases.errors.full_messages.join('. ')}."
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue