User avatars #223

Merged
raucao merged 10 commits from feature/user_avatars into master 2025-05-14 14:58:15 +00:00
Showing only changes of commit 1884f082ee - Show all commits

View File

@@ -14,6 +14,9 @@ class AvatarsController < ApplicationController
blob = if size == :original
user.avatar.blob
else
# TODO Variants use the same custom storage key/path, which
# makes blob downloads always fetch the original version instead
# of the variant. Needs to be fixed/added in Rails.
user.avatar_variant(size: size)&.blob
end