|
|
|
@ -15,6 +15,7 @@ class UsersController < ApplicationController
|
|
|
|
|
def get_user_info
|
|
|
|
|
begin
|
|
|
|
|
@user = current_user
|
|
|
|
|
uid_logger_error("############{@user.id}")
|
|
|
|
|
# TODO 等消息上线再打开注释
|
|
|
|
|
#@tidding_count = unviewed_tiddings(current_user) if current_user.present?
|
|
|
|
|
@course =
|
|
|
|
@ -37,6 +38,7 @@ class UsersController < ApplicationController
|
|
|
|
|
end
|
|
|
|
|
@course_identity = current_user.course_identity(@course) if @course
|
|
|
|
|
rescue Exception => e
|
|
|
|
|
uid_logger_error(e.message)
|
|
|
|
|
missing_template
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|