From 4b941ee8efedb7b12618f009a0e739e60cb30f7f Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Wed, 15 Feb 2023 12:38:09 +0100
Subject: [PATCH] fix diploma static path

---
 app/views/admin/education/diplomas/_programs.html.erb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/app/views/admin/education/diplomas/_programs.html.erb b/app/views/admin/education/diplomas/_programs.html.erb
index 45c74bd2c..4c09f0ee6 100644
--- a/app/views/admin/education/diplomas/_programs.html.erb
+++ b/app/views/admin/education/diplomas/_programs.html.erb
@@ -4,8 +4,7 @@ indentation = ' ' * depth
 <% programs.each do |program| %>
 <%= indentation %>- label: >
 <%= indentation %>    <%= program.to_s %>
-<%= indentation %>  path: >
-<%= indentation %>    <%= program.current_permalink_in_website(@website)&.path %>
+<%= indentation %>  path: "<%= program.current_permalink_in_website(@website)&.path %>"
 <% children = program.children.ordered %>
 <% if children.any? %>
 <%= indentation %>  children: 
-- 
GitLab