Post-rebase fix
This commit is contained in:
parent
9d53e49fb4
commit
9f5d7f2bb2
|
@ -11,8 +11,12 @@ module CurrentConferenceAssigning
|
|||
end
|
||||
|
||||
def current_conference
|
||||
if not @current_conference and params[:conference_id].present?
|
||||
@current_conference = Conference.find(params[:conference_id])
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue