|
|
@ -31,6 +31,7 @@ class EcYearsController < ApplicationController
|
|
|
|
end
|
|
|
|
end
|
|
|
|
@status = 1
|
|
|
|
@status = 1
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
logger.info("1387308227")
|
|
|
|
@major_manager = User.current.admin? ||
|
|
|
|
@major_manager = User.current.admin? ||
|
|
|
|
@major_school.school.ec_school_users.pluck(:user_id).include?(User.current.id) ||
|
|
|
|
@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)
|
|
|
|
@major_school.ec_major_school_users.pluck(:user_id).include?(User.current.id)
|
|
|
|