Post-rebase fix

This commit is contained in:
Andrew Radev 2015-08-05 14:58:24 +03:00
parent 9d53e49fb4
commit 9f5d7f2bb2
1 changed files with 6 additions and 2 deletions

View File

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