配置页面只有管理员能够进

dev_forum
daiao 5 years ago
parent 1dfa7a3bf9
commit d65bb1cb03

@ -1,5 +1,5 @@
class EduSettingsController < ApplicationController
# before_action :require_admin
before_action :require_admin
before_action :set_edu_setting, only: [:show, :edit, :update, :destroy]
# GET /edu_settings

Loading…
Cancel
Save