mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
One user one registration ticket
A user cannot have more than one registration ticket per conference.
This commit is contained in:
parent
de1fa448a2
commit
27bf79996d
8 changed files with 104 additions and 21 deletions
|
|
@ -19,7 +19,7 @@ class TicketPurchasesController < ApplicationController
|
|||
error: 'Please get at least one ticket to continue.'
|
||||
end
|
||||
else
|
||||
redirect_to conference_conference_registration_path(@conference.short_title),
|
||||
redirect_to conference_tickets_path(@conference.short_title),
|
||||
error: "Oops, something went wrong with your purchase! #{message}"
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue