diff options
author | Robin Bobbitt <ryehle@us.ibm.com> | 2017-06-13 12:46:02 -0400 |
---|---|---|
committer | Robin Bobbitt <ryehle@us.ibm.com> | 2017-06-14 11:40:21 -0400 |
commit | e09ddc62b32256baa3a0676e0fd68b38e72cafcd (patch) | |
tree | a583b0927d22ebb2a122ceaaacc7a1e767b81a54 /app/helpers | |
parent | 5bea82de7f4e601e4c69cf5de718514c17286994 (diff) | |
download | gitlab-ce-e09ddc62b32256baa3a0676e0fd68b38e72cafcd.tar.gz |
Help landing page customizations
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/application_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 71154da7ec5..2bfc7586adc 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -204,6 +204,10 @@ module ApplicationHelper 'https://' + promo_host end + def support_url + current_application_settings.help_page_support_url.presence || promo_url + '/getting-help/' + end + def page_filter_path(options = {}) without = options.delete(:without) add_label = options.delete(:label) |