Fix new conference creation

This commit is contained in:
Petko Bordjukov 2015-08-10 21:40:06 +03:00
parent 2d325c492c
commit 57dc267f78
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ module CurrentConferenceAssigning
def current_conference def current_conference
if not @current_conference if not @current_conference
if @conference if @conference and not @conference.new_record?
@current_conference = @conference @current_conference = @conference
elsif params[:conference_id].present? elsif params[:conference_id].present?
@current_conference = Conference.find(params[:conference_id]) @current_conference = Conference.find(params[:conference_id])