summaryrefslogtreecommitdiff
path: root/config/routes/api.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2019-06-24 11:53:17 -0500
committerRobert Speicher <rspeicher@gmail.com>2019-06-26 11:29:41 -0500
commit2d738b6f84e7f453202d24f615581e1fb3130e51 (patch)
treef3ddf9d2b83d0f23250f0b299905cc66dd456816 /config/routes/api.rb
parent5ec2146c4a9b1be510055127375804c8ef652ed3 (diff)
downloadgitlab-ce-2d738b6f84e7f453202d24f615581e1fb3130e51.tar.gz
Copy routes from EE
This ensures all routes are defined in both CE and EE, with EE-specific routes being wrapped in `Gitlab.ee` blocks.
Diffstat (limited to 'config/routes/api.rb')
-rw-r--r--config/routes/api.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes/api.rb b/config/routes/api.rb
index 3719b7d3a1e..3ba9176d943 100644
--- a/config/routes/api.rb
+++ b/config/routes/api.rb
@@ -3,5 +3,5 @@ constraints(::Constraints::FeatureConstrainer.new(:graphql, default_enabled: tru
mount GraphiQL::Rails::Engine, at: '/-/graphql-explorer', graphql_path: '/api/graphql'
end
-API::API.logger Rails.logger
-mount API::API => '/'
+::API::API.logger Rails.logger
+mount ::API::API => '/'