fix public logo url

This commit is contained in:
Eric Leroy-Terquem 2023-08-23 12:14:10 +02:00
parent fe78522f37
commit 5e5111d69b

View file

@ -5,7 +5,7 @@ class ProceduresController < ApplicationController
if @procedure.logo.attached?
redirect_to url_for(@procedure.logo.variant(:email))
else
redirect_to image_url(PROCEDURE_DEFAULT_LOGO_SRC)
redirect_to ActionController::Base.helpers.image_url(PROCEDURE_DEFAULT_LOGO_SRC)
end
end