From 18df9b3dd7869e43213f8db430224f7e00922ed6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com>
Date: Wed, 11 Oct 2023 09:12:01 +0200
Subject: [PATCH] Update _head.html.erb

---
 app/views/extranet/application/_head.html.erb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/app/views/extranet/application/_head.html.erb b/app/views/extranet/application/_head.html.erb
index c3a55ff3e..0af177f39 100644
--- a/app/views/extranet/application/_head.html.erb
+++ b/app/views/extranet/application/_head.html.erb
@@ -6,8 +6,9 @@
 <%= stylesheet_link_tag 'extranet', media: 'all' %>
 <link rel="stylesheet" href="<%= style_path(format: :css) %>" media="all">
 <link rel="stylesheet" href="https://example.osuny.org/assets/css/extranet.min.css" media="all">
-<% if current_extranet.favicon.representable? %>
-  <%= favicon_link_tag url_for(current_extranet.favicon.representation(:thumb)) %>
+<%# TODO: @Sebou remettre representation après update RoR 7.1.0 %>
+<% if current_extranet.favicon.variable? %>
+  <%= favicon_link_tag url_for(current_extranet.favicon.variant(:thumb)) %>
 <% else %>
   <%= favicon_link_tag 'favicon.png' %>
 <% end %>
-- 
GitLab