From 8466c147af13a2bad1171032c113f5774a09a531 Mon Sep 17 00:00:00 2001 From: daiao <35855898@qq.com> Date: Wed, 20 Mar 2019 23:46:55 +0800 Subject: [PATCH] 1 --- app/controllers/ec_years_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/ec_years_controller.rb b/app/controllers/ec_years_controller.rb index e04d9506..ccced057 100644 --- a/app/controllers/ec_years_controller.rb +++ b/app/controllers/ec_years_controller.rb @@ -31,6 +31,7 @@ class EcYearsController < ApplicationController end @status = 1 end + logger.info("1387308227") @major_manager = User.current.admin? || @major_school.school.ec_school_users.pluck(:user_id).include?(User.current.id) || @major_school.ec_major_school_users.pluck(:user_id).include?(User.current.id)