Defect #28204 » size_option_for_avatar_should_accept_integer_value.diff
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) |
- « Previous
- 1
- 2
- 3
- Next »