[openstreetmap-website] Convert user navigation to a dropdown menu (#447)
Tom Hughes
notifications at github.com
Thu Aug 15 23:17:24 UTC 2013
So the issue is caused by the use of `user_image_url` in `app/views/layouts/_inbox.html.erb` because that, in the non-gravatar case, uses `user.image.url` without specifying a style.
That, in turn, means that it tries to use the `original` style, which is fine except when there is no original image, in which case it tries to load the default icon. That only exists for the `small` and `large` styles though.
Until now `user_image_url` was only being used when an image was known to exist so this was not an issue.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/447#issuecomment-22737848
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130815/cb7a1c7b/attachment.html>
More information about the rails-dev
mailing list