Fix bug. Add signup limit feature. #2

Merged
chiu merged 7 commits from 123/seminar:master into master 2023-01-11 10:13:37 +00:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit df48fbde52 - Show all commits

View File

@ -77,6 +77,7 @@ class Admin::SeminarsController < OrbitAdminController
end
def sub_page_setting
@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 = available_locales.map{|l| l.to_s}
if @seminar_page_root.nil?