|
|
@ -73,8 +73,7 @@ class UsersController < ApplicationController
|
|
|
|
|
|
|
|
|
|
|
|
@user_url = "/users/#{@user.login}"
|
|
|
|
@user_url = "/users/#{@user.login}"
|
|
|
|
@career = Career.where(status: true).order("created_at asc").pluck(:id, :name)
|
|
|
|
@career = Career.where(status: true).order("created_at asc").pluck(:id, :name)
|
|
|
|
ec_user = EcSchoolUser.where(:user_id => current_user.id).first
|
|
|
|
@auth = User.current.ec_school.present? ? "#{@old_domain}/ecs/department?school_id=#{User.current.ec_school}" : nil
|
|
|
|
@auth = ec_user ? "#{@old_domain}/ecs/department?school_id=#{ec_user.school_id}" : nil
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
# 用户回复功能
|
|
|
|
# 用户回复功能
|
|
|
|