|
|
@ -1,6 +1,12 @@
|
|
|
|
# encoding: utf-8
|
|
|
|
# encoding: utf-8
|
|
|
|
class ManagementsController < ApplicationController
|
|
|
|
class ManagementsController < ApplicationController
|
|
|
|
before_filter :require_business
|
|
|
|
before_filter :require_business
|
|
|
|
|
|
|
|
before_filter :require_admin, :only => [:shixun_setting_list, :mirror_repository, :mirror_picture_shixuns, :editmd_template,
|
|
|
|
|
|
|
|
:editmd_template, :subject_level_system, :subject_setting_list, :auto_users_trial,
|
|
|
|
|
|
|
|
:evaluate_records, :identity_authentication, :identity_authentication, :professional_authentication,
|
|
|
|
|
|
|
|
:shixun_authorization, :graduation_standard, :ec_template, :codemirror_template,
|
|
|
|
|
|
|
|
:course_guide_template, :shixun_quality_score, :tech_system, :update_notice, :setting_banner,
|
|
|
|
|
|
|
|
:training_2018]
|
|
|
|
layout 'base_management'
|
|
|
|
layout 'base_management'
|
|
|
|
include ManagementsHelper
|
|
|
|
include ManagementsHelper
|
|
|
|
include SortHelper
|
|
|
|
include SortHelper
|
|
|
|