mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Merge pull request #492 from hennevogel/master
Fix a double render while confirming proposals
This commit is contained in:
commit
a1ed852287
1 changed files with 3 additions and 2 deletions
|
|
@ -115,9 +115,10 @@ class ProposalController < ApplicationController
|
|||
if @conference.user_registered?(current_user)
|
||||
redirect_to(conference_proposal_index_path(@conference.short_title),
|
||||
notice: 'The proposal was confirmed.')
|
||||
else
|
||||
redirect_to(new_conference_conference_registrations_path(conference_id: @conference.short_title),
|
||||
alert: 'The proposal was confirmed. Please register to attend the conference.')
|
||||
end
|
||||
redirect_to(new_conference_conference_registrations_path(conference_id: @conference.short_title),
|
||||
alert: 'The proposal was confirmed. Please register to attend the conference.')
|
||||
end
|
||||
|
||||
def restart
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue