4 lines
146 B
Ruby
4 lines
146 B
Ruby
get '/graphql', to: 'graphql#query'
|
|
post '/graphql', to: 'graphql#query'
|
|
mount GraphiQL::Rails::Engine, at: '/graphiql', graphql_path: '/graphql'
|