From 5e3b5b6d7cfe95c20d856aa3384e7a07f44998d2 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Mon, 9 Jun 2025 15:03:11 +0200 Subject: [PATCH] Make avatars public so that they work in public collections --- app/controllers/users/avatars_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/users/avatars_controller.rb b/app/controllers/users/avatars_controller.rb index 46deb691e..180a7c506 100644 --- a/app/controllers/users/avatars_controller.rb +++ b/app/controllers/users/avatars_controller.rb @@ -1,6 +1,8 @@ class Users::AvatarsController < ApplicationController include ActiveStorage::Streaming + allow_unauthenticated_access only: :show + before_action :set_user def show