Fix bug. Add signup limit feature. #2
|
@ -77,6 +77,7 @@ class Admin::SeminarsController < OrbitAdminController
|
||||||
end
|
end
|
||||||
def sub_page_setting
|
def sub_page_setting
|
||||||
@seminar_page_root = Page.where(:parent_page_id=>params[:id]).first
|
@seminar_page_root = Page.where(:parent_page_id=>params[:id]).first
|
||||||
|
@seminar_template_setting = SeminarTemplateSetting.where(:seminar_main_id=>params[:id]).first
|
||||||
available_locales = Site.first.in_use_locales rescue I18n.available_locales
|
available_locales = Site.first.in_use_locales rescue I18n.available_locales
|
||||||
available_locales = available_locales.map{|l| l.to_s}
|
available_locales = available_locales.map{|l| l.to_s}
|
||||||
if @seminar_page_root.nil?
|
if @seminar_page_root.nil?
|
||||||
|
|
Loading…
Reference in New Issue