diff --git a/app/views/users/get_user_info.json.jbuilder b/app/views/users/get_user_info.json.jbuilder index fe8400ffd..ba53d0c2a 100644 --- a/app/views/users/get_user_info.json.jbuilder +++ b/app/views/users/get_user_info.json.jbuilder @@ -1,7 +1,7 @@ json.username @user.full_name json.login @user.login json.user_id @user.id -json.image_url image_url(url_to_avatar(@user)) +json.image_url url_to_avatar(@user) json.image_path image_path(url_to_avatar(@user)) json.image_tag image_tag(url_to_avatar(@user)) json.admin @user.admin?