From 691bc25683d0fa6d532e9865f20eb4cc6db95db8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com>
Date: Fri, 10 Mar 2023 11:41:32 +0100
Subject: [PATCH] fix

---
 app/views/admin/communication/extranets/posts/show.html.erb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/views/admin/communication/extranets/posts/show.html.erb b/app/views/admin/communication/extranets/posts/show.html.erb
index a4aa85eec..4895b36dc 100644
--- a/app/views/admin/communication/extranets/posts/show.html.erb
+++ b/app/views/admin/communication/extranets/posts/show.html.erb
@@ -10,7 +10,7 @@
       <%
       action = ''
       action += link_to t('open'),
-                        posts_communication_extranet_post_url(@post.slug, host: @post.extranet.url, extranet_id: nil),
+                        posts_post_url(@post.slug, host: @post.extranet.url, extranet_id: nil),
                         target: :_blank,
                         class: 'btn btn-light btn-xs' if @post.published
       %>
-- 
GitLab