mirror of
https://github.com/redmine/redmine.git
synced 2026-07-13 11:11:53 +02: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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user