diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-13 12:40:50 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-13 12:40:50 +0000 |
commit | 3b7ba9ec41e594d08122d9504bd1fd87397bba60 (patch) | |
tree | 8c1eaec3ce13dead73b87d4b0122073bf2a09ae3 /app/helpers | |
parent | 31a885ef2510c6899a57c18a6192712629403831 (diff) | |
download | redmine-3b7ba9ec41e594d08122d9504bd1fd87397bba60.tar.gz redmine-3b7ba9ec41e594d08122d9504bd1fd87397bba60.zip |
remove spaces inside {} of AvatarsHelper
git-svn-id: http://svn.redmine.org/redmine/trunk@20361 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/avatars_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 <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] |