From 120f59aca72177b65cfda660063f00913fca2a62 Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Wed, 4 Mar 2020 23:52:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/weapps/attendances_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/weapps/attendances_controller.rb b/app/controllers/weapps/attendances_controller.rb index 6804f0ce4..dbba6e07c 100644 --- a/app/controllers/weapps/attendances_controller.rb +++ b/app/controllers/weapps/attendances_controller.rb @@ -41,7 +41,7 @@ class Weapps::AttendancesController < ApplicationController end def student_attendances - tip_exception("学生身份的签到列表") if @user_course_identity != Course::STUDENT + # tip_exception("学生身份的签到列表") if @user_course_identity != Course::STUDENT member = @course.students.find_by(user_id: current_user.id) current_date = Date.current current_end_time = Time.current.strftime("%H:%M:%S")