mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
change your avatar in a modal
This commit is contained in:
parent
baff59d752
commit
ea6e73076b
14 changed files with 197 additions and 200 deletions
|
@ -376,7 +376,7 @@ class UsersController < ApplicationController
|
|||
user.use_uploaded_avatar = params[:use_uploaded_avatar]
|
||||
user.save!
|
||||
|
||||
render json: { avatar_template: user.avatar_template }
|
||||
render nothing: true
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue