debian-mirror-gitlab/app/helpers/gitlab_routing_helper.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
768 B
Ruby
Raw Normal View History

2018-12-05 23:21:45 +05:30
# frozen_string_literal: true
2017-09-10 17:25:29 +05:30
# Shorter routing method for some project items
2015-04-26 12:48:37 +05:30
module GitlabRoutingHelper
2017-09-10 17:25:29 +05:30
extend ActiveSupport::Concern
2021-04-29 21:17:54 +05:30
include ::ProjectsHelper
include ::ApplicationSettingsHelper
2020-04-22 19:07:51 +05:30
include API::Helpers::RelatedResourcesHelpers
2021-09-30 23:02:18 +05:30
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-11-11 11:23:49 +05:30
include ::Routing::PseudonymizationHelper
2017-09-10 17:25:29 +05:30
included do
Gitlab::Routing.includes_helpers(self)
2015-09-25 12:07:36 +05:30
end
2015-04-26 12:48:37 +05:30
end
2019-12-04 20:38:33 +05:30
2021-06-08 01:23:25 +05:30
GitlabRoutingHelper.include_mod_with('GitlabRoutingHelper')