Module: PersonalizationHelper
- Defined in:
- vendor/plugins/hydra_repository/app/helpers/personalization_helper.rb
Constant Summary
- DEFAULT_USER_ATTRIBUTES =
['full_name', 'affiliation', 'photo']
Instance Method Summary (collapse)
-
- (Object) user_photo_tag(login)
Creates an image tag with the user#photo attribute as the source.
Instance Method Details
- (Object) user_photo_tag(login)
Creates an image tag with the user#photo attribute as the source
30 31 32 33 |
# File 'vendor/plugins/hydra_repository/app/helpers/personalization_helper.rb', line 30 def user_photo_tag login path = photo_from_login login path == "" ? "" : image_tag(path) end |