From ceec0aebaba1a26e719bf3ab2f19f63bf4df5f82 Mon Sep 17 00:00:00 2001 From: Syphax Bouazzouni Date: Fri, 2 Jun 2023 01:39:05 +0200 Subject: [PATCH] update portalname helper to use $SITE config variable --- app/helpers/application_helper.rb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index eaf593826..0944b6d93 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -616,8 +616,7 @@ def request_lang end def portal_name - name = $UI_THEME.to_s.capitalize - name.sub! 'portal' , 'Portal' + $SITE end def navitems @@ -625,8 +624,3 @@ def navitems end end - -def portal_name - name = $UI_THEME.to_s.capitalize - name.sub! 'portal' , 'Portal' -end \ No newline at end of file