mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 16:24:55 +00:00
Revert "FIX: Missing letter avatars"
This reverts commit 03943554c6f8ece7f2b07d9aa34131ad1954e544.
This commit is contained in:
parent
72ab1b9714
commit
6d2e651862
@ -24,7 +24,7 @@ class UserAvatarsController < ApplicationController
|
||||
params.require(:version)
|
||||
params.require(:size)
|
||||
|
||||
return render_dot if params[:version].to_i != LetterAvatar::VERSION
|
||||
return render_dot if params[:version] != LetterAvatar.version
|
||||
|
||||
image = LetterAvatar.generate(params[:username].to_s, params[:size].to_i)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user