|
|
@ -90,10 +90,6 @@ class UsersController < ApplicationController
|
|
|
|
|
|
|
|
|
|
|
|
def brief_introduction
|
|
|
|
def brief_introduction
|
|
|
|
content = params[:content].to_s.strip
|
|
|
|
content = params[:content].to_s.strip
|
|
|
|
if content.blank?
|
|
|
|
|
|
|
|
render_error('内容不能为空')
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
current_user.user_extension.update!(brief_introduction: content)
|
|
|
|
current_user.user_extension.update!(brief_introduction: content)
|
|
|
|
|
|
|
|
|
|
|
|