This commit is contained in:
BoHung Chiu 2021-07-14 15:42:37 +08:00
parent 9802053a11
commit 8873042a6c
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ class SeminarsController < ApplicationController
params = OrbitHelper.params
seminar = SeminarMain.find_by(:uid=>params[:uid])
@seminar = seminar
@site_in_use_locales = Site.first.in_use_locales rescue I18n.available_locales
seminar_template_setting = seminar.seminar_template_setting
home_page = Page.where(:parent_page_id=>seminar.id).first
prefix_url = OrbitHelper.request.path.split("-").first + "-#{params[:uid]}"