forked from spen/seminar
commit
7d8103cfca
|
@ -21,6 +21,7 @@ class SeminarsController < ApplicationController
|
||||||
params = OrbitHelper.params
|
params = OrbitHelper.params
|
||||||
seminar = SeminarMain.find_by(:uid=>params[:uid])
|
seminar = SeminarMain.find_by(:uid=>params[:uid])
|
||||||
@seminar = seminar
|
@seminar = seminar
|
||||||
|
@site_in_use_locales = Site.first.in_use_locales rescue I18n.available_locales
|
||||||
seminar_template_setting = seminar.seminar_template_setting
|
seminar_template_setting = seminar.seminar_template_setting
|
||||||
home_page = Page.where(:parent_page_id=>seminar.id).first
|
home_page = Page.where(:parent_page_id=>seminar.id).first
|
||||||
prefix_url = OrbitHelper.request.path.split("-").first + "-#{params[:uid]}"
|
prefix_url = OrbitHelper.request.path.split("-").first + "-#{params[:uid]}"
|
||||||
|
|
Loading…
Reference in New Issue