加入课堂时不需要判断身份

dev_hs
cxt 6 years ago
parent ff919abda2
commit c7654c9d4e

@ -26,8 +26,9 @@ class CoursesController < ApplicationController
:base_info, :get_historical_courses, :create_group_by_importing_file,
:attahcment_category_list,:export_member_scores_excel, :duplicate_course,
:switch_to_teacher, :switch_to_assistant, :switch_to_student, :exit_course,
:informs, :update_informs, :join_excellent_course, :online_learning,
:informs, :update_informs, :online_learning,
:update_task_position, :tasks_list]
before_action :set_course, only: [:join_excellent_course]
before_action :teacher_allowed, only: [:update, :destroy, :settings, :search_teacher_candidate,
:transfer_to_course_group, :delete_from_course,
:search_users, :add_students_by_search, :get_historical_courses, :add_teacher_popup, :add_teacher]

Loading…
Cancel
Save