2018-08-18 07:19:57 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-06-29 13:06:35 -04:00
|
|
|
# Shorter routing method for some project items
|
2015-02-25 22:34:16 -05:00
|
|
|
module GitlabRoutingHelper
|
2017-06-29 13:06:35 -04:00
|
|
|
extend ActiveSupport::Concern
|
2016-04-29 09:14:38 -04:00
|
|
|
|
2021-03-16 11:11:17 -04:00
|
|
|
include ::ProjectsHelper
|
|
|
|
include ::ApplicationSettingsHelper
|
2020-03-25 05:08:11 -04:00
|
|
|
include API::Helpers::RelatedResourcesHelpers
|
2021-06-18 17:10:06 -04: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 17:09:36 -04:00
|
|
|
include ::Routing::PseudonymizationHelper
|
2017-07-08 17:24:18 -04:00
|
|
|
included do
|
|
|
|
Gitlab::Routing.includes_helpers(self)
|
|
|
|
end
|
2015-02-25 22:34:16 -05:00
|
|
|
end
|
2019-09-13 09:26:31 -04:00
|
|
|
|
2021-05-11 17:10:21 -04:00
|
|
|
GitlabRoutingHelper.include_mod_with('GitlabRoutingHelper')
|