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,9 +11,13 @@ module CurrentConferenceAssigning
end
def current_conference
if not @current_conference and params[:conference_id].present?
if not @current_conference
if @conference
@current_conference = @conference
elsif params[:conference_id].present?
@current_conference = Conference.find(params[:conference_id])
end
end
@current_conference
end