From 3eb1142afe38d176707b5390225e878df663f1f6 Mon Sep 17 00:00:00 2001 From: chapsjust <2238424@carrefour.cegepvicto.ca> Date: Thu, 26 Feb 2026 21:26:59 -0500 Subject: [PATCH] fix edit layout --- app/javascript/application.js | 2 ++ app/views/shared/_meta.html.erb | 2 +- config/whitelabel.yml | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/javascript/application.js b/app/javascript/application.js index 8889609f..a8dcbbaa 100644 --- a/app/javascript/application.js +++ b/app/javascript/application.js @@ -182,6 +182,8 @@ safeRegisterElement('template-builder', class extends HTMLElement { showTourStartForm: this.dataset.showTourStartForm === 'true' }) + this.app.config.globalProperties.document = document + this.component = this.app.mount(this.appElem) this.appendChild(this.appElem) diff --git a/app/views/shared/_meta.html.erb b/app/views/shared/_meta.html.erb index c6dfe70b..e6e3ded1 100644 --- a/app/views/shared/_meta.html.erb +++ b/app/views/shared/_meta.html.erb @@ -29,5 +29,5 @@ - + diff --git a/config/whitelabel.yml b/config/whitelabel.yml index ce9c2e23..f5209fc0 100644 --- a/config/whitelabel.yml +++ b/config/whitelabel.yml @@ -39,11 +39,11 @@ urls: website: "https://intebec.ca" # Support / contact email - support_email: "support@intebec.ca" + support_email: "contact@intebec.ca" # Privacy policy & terms pages (set to null to hide links) - privacy_policy: "https://intebec.ca/privacy" - terms_of_service: "https://intebec.ca/terms" + privacy_policy: "https://intebec.ca/legal/privacy" + terms_of_service: "https://intebec.ca/legal/terms" # Social handles (set to null to hide) twitter_url: ~