gitlab-org--gitlab-foss/config/routes/api.rb

6 lines
176 B
Ruby
Raw Normal View History

2017-08-16 09:04:41 -04:00
post '/api/graphql', to: 'graphql#execute'
mount GraphiQL::Rails::Engine, at: '/api/graphiql', graphql_path: '/api/graphql'
API::API.logger Rails.logger
mount API::API => '/'