添加实训

chromesetting
daiao 6 years ago
parent 11c6e54d90
commit 02fead012b

@ -5,7 +5,7 @@ class SubjectsController < ApplicationController
before_action :find_subject, except: [:index, :create, :new, :append_to_stage, :add_shixun_to_stage] before_action :find_subject, except: [:index, :create, :new, :append_to_stage, :add_shixun_to_stage]
before_action :allowed, only: [:update, :edit, :destroy, :publish, :cancel_publish, :cancel_has_publish, before_action :allowed, only: [:update, :edit, :destroy, :publish, :cancel_publish, :cancel_has_publish,
:search_members, :add_subject_members, :statistics, :shixun_report, :school_report, :search_members, :add_subject_members, :statistics, :shixun_report, :school_report,
:up_member_position, :down_member_position, :update_team_title, :add_shixun_to_stage] :up_member_position, :down_member_position, :update_team_title]
before_action :require_admin, only: [:copy_subject] before_action :require_admin, only: [:copy_subject]
include ApplicationHelper include ApplicationHelper

Loading…
Cancel
Save