2
0
Fork 0
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:
Régis Hanol 2013-08-17 00:29:54 +02:00
parent baff59d752
commit ea6e73076b
14 changed files with 197 additions and 200 deletions

View file

@ -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