mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-30 19:52:20 +01:00
fix avatar refresh on update
This commit is contained in:
parent
ebe602ad1c
commit
2082f1e11c
@ -1,6 +1,8 @@
|
||||
# Changelog Fab-manager
|
||||
|
||||
- Improved display of the icons alerting about an outdated version
|
||||
- Improved mime-type checking (back & front)
|
||||
- Updated CarrierWave to 2.1.0
|
||||
- Fix a bug: managers do not see the name of the user who reserved a slot
|
||||
- [TODO DEPLOY] `rails fablab:setup:env_to_db`
|
||||
|
||||
|
@ -10,7 +10,7 @@ json.profile do
|
||||
if member.profile.user_avatar
|
||||
json.user_avatar do
|
||||
json.id member.profile.user_avatar.id
|
||||
json.attachment_url member.profile.user_avatar.attachment_url
|
||||
json.attachment_url "#{member.profile.user_avatar.attachment_url}?#{member.profile.user_avatar.updated_at.to_i}"
|
||||
end
|
||||
end
|
||||
json.first_name member.profile.first_name
|
||||
|
Loading…
x
Reference in New Issue
Block a user