diff --git a/app/controllers/managements_controller.rb b/app/controllers/managements_controller.rb index 74560941..d1ef793d 100644 --- a/app/controllers/managements_controller.rb +++ b/app/controllers/managements_controller.rb @@ -1,6 +1,12 @@ # encoding: utf-8 class ManagementsController < ApplicationController 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' include ManagementsHelper include SortHelper