教师列表调整

dev_course
cxt 5 years ago
parent 49ca3882f6
commit 425a32680a

@ -284,7 +284,7 @@ class CoursesController < ApplicationController
@is_admin = @user_course_identity < Course::PROFESSOR @is_admin = @user_course_identity < Course::PROFESSOR
@applications= CourseMessage.unhandled_join_course_requests_by_course(@course) @applications = @is_admin ? CourseMessage.unhandled_join_course_requests_by_course(@course) : CourseMessage.none
page = params[:page] || 1 page = params[:page] || 1
limit = params[:limit] || 20 limit = params[:limit] || 20

Loading…
Cancel
Save