mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fix confirming of proposals
This commit is contained in:
parent
39ca877e5e
commit
178e584730
3 changed files with 4 additions and 4 deletions
|
|
@ -140,7 +140,7 @@ class ProposalController < ApplicationController
|
|||
def confirm
|
||||
if @event.transition_possible? :confirm
|
||||
begin
|
||||
@event.confirm!
|
||||
@event.confirm!(:send_mail => params[:send_mail])
|
||||
rescue Exception => e
|
||||
redirect_to(conference_proposal_index_path(:conference_id => @conference.short_title), :alert => "Event was NOT confirmed: #{e.message}")
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue