From 1439706dcc4db40d153b7d28c82e80e61a29d1a6 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Fri, 17 Jan 2025 09:54:45 +0100 Subject: [PATCH] change about change gitlab url --- content/content/HowTos/gitlab-change-baseurl.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/content/HowTos/gitlab-change-baseurl.md b/content/content/HowTos/gitlab-change-baseurl.md index 954fce3..2ebb603 100644 --- a/content/content/HowTos/gitlab-change-baseurl.md +++ b/content/content/HowTos/gitlab-change-baseurl.md @@ -13,6 +13,10 @@ After a migration changing the base url in the configuration is not enough. It m ApplicationSetting.current.update!(home_page_url: 'https://neue-url.example.com') ApplicationSetting.current.update!(after_sign_out_path: 'https://neue-url.example.com') ``` +* Reading out a value from the ApplicationSetting via the gitlab-rails console is done using + ``` + ApplicationSetting.current.home_page_url + ``` * Clear the internal cache: ``` gitlab-rake cache:clear