diff options
Diffstat (limited to 'app/components/pajamas/avatar_component.rb')
-rw-r--r-- | app/components/pajamas/avatar_component.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/components/pajamas/avatar_component.rb b/app/components/pajamas/avatar_component.rb index 073968e0491..423934b6887 100644 --- a/app/components/pajamas/avatar_component.rb +++ b/app/components/pajamas/avatar_component.rb @@ -17,10 +17,10 @@ module Pajamas @avatar_options = avatar_options end - private - SIZE_OPTIONS = [16, 24, 32, 48, 64, 96].freeze + private + def avatar_classes classes = ["gl-avatar", "gl-avatar-s#{@size}", @class] classes.push("gl-avatar-circle") if @record.is_a?(User) |