Commit 04bb520e authored by James Lopez's avatar James Lopez

use gitlab helper module

parent 915bd35e
module EE
module Gitlab
module GeoGitAccess
include ::Gitlab::ConfigHelper
include ::EE::GitlabRoutingHelper
GEO_SERVER_DOCS_URL = 'https://docs.gitlab.com/ee/gitlab-geo/using_a_geo_server.html'.freeze
......@@ -33,10 +34,6 @@ module EE
def project_or_wiki
self.class.name == 'Gitlab::GitAccessWiki' ? @project.wiki : @project
end
def gitlab_config
::Gitlab.config.gitlab
end
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment