From 3b7ba9ec41e594d08122d9504bd1fd87397bba60 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 13 Nov 2020 12:40:50 +0000 Subject: [PATCH] remove spaces inside {} of AvatarsHelper git-svn-id: http://svn.redmine.org/redmine/trunk@20361 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/avatars_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/avatars_helper.rb b/app/helpers/avatars_helper.rb index c37082587..ec9c5ac70 100644 --- a/app/helpers/avatars_helper.rb +++ b/app/helpers/avatars_helper.rb @@ -36,7 +36,7 @@ module AvatarsHelper # Returns the avatar image tag for the given +user+ if avatars are enabled # +user+ can be a User or a string that will be scanned for an email address (eg. 'joe ') - def avatar(user, options = { }) + def avatar(user, options = {}) if Setting.gravatar_enabled? options[:default] = Setting.gravatar_default options[:class] = GravatarHelper::DEFAULT_OPTIONS[:class] + " " + options[:class] if options[:class] -- 2.39.5