Project

General

Profile

Defect #28204 » size_option_for_avatar_should_accept_integer_value.diff

fix for this issue (no need to apply this fix to the trunk) - Go MAEDA, 2018-02-18 00:36

View differences:

app/helpers/application_helper.rb (working copy)
1424 1424
      if email.present?
1425 1425
        gravatar(email.to_s.downcase, options) rescue nil
1426 1426
      else
1427
        options[:size] = options[:size].to_s
1427 1428
        image_tag 'anonymous.png',
1428 1429
                  GravatarHelper::DEFAULT_OPTIONS
1429 1430
                    .except(:default, :rating, :ssl).merge(options)
(3-3/3)