diff --git a/CHANGELOG.md b/CHANGELOG.md index cac76b6fc4..8da6b8bdc3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,8 @@ - Increased the width of the research outputs file size unit dropdown [#741](https://github.com/portagenetwork/roadmap/pull/741) + - Updated the "contact-us" link in some places [#660](https://github.com/portagenetwork/roadmap/pull/660) + ## [4.0.2+portage-4.0.3] - 2024-04-11 ### Added diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 2456d0aa4b..86dd91f1c8 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -53,6 +53,7 @@ def current_locale_logo end end + # Override the contact_us_path value set by the contact-us gem def contact_us_path if I18n.locale == :'fr-CA' 'https://portagenetwork.ca/fr/contactez-nous/' @@ -62,6 +63,9 @@ def contact_us_path end end + # Override the contact_us_url value set by the contact-us gem + alias contact_us_url contact_us_path + # TODO: Replace function body with the commented-out code when French version of this path is made available. def terms_of_use_path 'https://dmp-pgd.ca/terms' # TEMPORARY FIX