2018-08-18 11:19:57 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-06-29 17:06:35 +00:00
|
|
|
# Shorter routing method for some project items
|
2015-02-26 03:34:16 +00:00
|
|
|
module GitlabRoutingHelper
|
2017-06-29 17:06:35 +00:00
|
|
|
extend ActiveSupport::Concern
|
2016-04-29 13:14:38 +00:00
|
|
|
|
2021-03-16 15:11:17 +00:00
|
|
|
include ::ProjectsHelper
|
|
|
|
include ::ApplicationSettingsHelper
|
2020-03-25 09:08:11 +00:00
|
|
|
include API::Helpers::RelatedResourcesHelpers
|
2021-06-18 21:10:06 +00:00
|
|
|
include ::Routing::ProjectsHelper
|
|
|
|
include ::Routing::Projects::MembersHelper
|
|
|
|
include ::Routing::Groups::MembersHelper
|
|
|
|
include ::Routing::MembersHelper
|
|
|
|
include ::Routing::ArtifactsHelper
|
|
|
|
include ::Routing::PipelineSchedulesHelper
|
|
|
|
include ::Routing::SnippetsHelper
|
|
|
|
include ::Routing::WikiHelper
|
|
|
|
include ::Routing::GraphqlHelper
|
2021-09-09 21:09:36 +00:00
|
|
|
include ::Routing::PseudonymizationHelper
|
2022-10-24 09:11:03 +00:00
|
|
|
include ::Routing::PackagesHelper
|
2017-07-08 21:24:18 +00:00
|
|
|
included do
|
|
|
|
Gitlab::Routing.includes_helpers(self)
|
|
|
|
end
|
2015-02-26 03:34:16 +00:00
|
|
|
end
|
2019-09-13 13:26:31 +00:00
|
|
|
|
2021-05-11 21:10:21 +00:00
|
|
|
GitlabRoutingHelper.include_mod_with('GitlabRoutingHelper')
|