1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-19 10:02:04 +00:00

remove spaces inside {} of AvatarsHelper

git-svn-id: http://svn.redmine.org/redmine/trunk@20361 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-11-13 12:40:50 +00:00
parent 31a885ef25
commit 3b7ba9ec41

View File

@ -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 <joe@foo.bar>')
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]