Fix confirming of proposals

This commit is contained in:
Henne Vogelsang 2013-05-07 17:00:26 +02:00 committed by Henne Vogelsang
parent 39ca877e5e
commit 178e584730
3 changed files with 4 additions and 4 deletions

View file

@ -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