debian-mirror-gitlab/app/helpers/projects/security/configuration_helper.rb

18 lines
502 B
Ruby
Raw Normal View History

2021-04-17 20:07:23 +05:30
# frozen_string_literal: true
module Projects
module Security
module ConfigurationHelper
def security_upgrade_path
2021-12-11 22:18:48 +05:30
"https://#{ApplicationHelper.promo_host}/pricing/"
2021-04-17 20:07:23 +05:30
end
2022-06-21 17:19:12 +05:30
def vulnerability_training_docs_path
help_page_path('user/application_security/vulnerabilities/index', anchor: 'enable-security-training-for-vulnerabilities')
end
2021-04-17 20:07:23 +05:30
end
end
end
2021-06-08 01:23:25 +05:30
::Projects::Security::ConfigurationHelper.prepend_mod_with('Projects::Security::ConfigurationHelper')