mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-17 04:01:29 -05:00
parent
72ab1b9714
commit
6d2e651862
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue