From 950da2c2be170d46d0fb5c27922f0fa39ba45053 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Mon, 21 Feb 2022 13:49:31 +0100
Subject: [PATCH] button

---
 app/views/admin/communication/website/pages/show.html.erb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app/views/admin/communication/website/pages/show.html.erb b/app/views/admin/communication/website/pages/show.html.erb
index 8fcde4861..81dc19dfd 100644
--- a/app/views/admin/communication/website/pages/show.html.erb
+++ b/app/views/admin/communication/website/pages/show.html.erb
@@ -88,6 +88,9 @@
 <% end %>
 
 <% content_for :action_bar_right do %>
+  <%= link_to 'static',
+              static_admin_communication_website_page_path(@page),
+              class: button_classes if can? :static, @page %>
   <%= preview_link %>
   <%= edit_link @page %>
 <% end %>
-- 
GitLab