Revert "FIX: Missing letter avatars"

This reverts commit 03943554c6.
This commit is contained in:
Sam Saffron 2015-04-20 06:41:08 +10:00
parent 72ab1b9714
commit 6d2e651862
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class UserAvatarsController < ApplicationController
params.require(:version) params.require(:version)
params.require(:size) 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) image = LetterAvatar.generate(params[:username].to_s, params[:size].to_i)