mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
TRIVIAL: code formatting
This commit is contained in:
parent
6907739a0b
commit
c0cd109e9d
4 changed files with 8 additions and 5 deletions
|
@ -48,9 +48,7 @@ class UserAvatarsController < ApplicationController
|
|||
return render_dot unless user = User.find_by(username_lower: username.downcase)
|
||||
|
||||
size = params[:size].to_i
|
||||
if size > 1000 || size < 1
|
||||
return render_dot
|
||||
end
|
||||
return render_dot if size > 1000 || size < 1
|
||||
|
||||
image = nil
|
||||
version = params[:version].to_i
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue