Split routes into small files for easier customization (#1852)
This commit is contained in:
3
config/routes/graphql.rb
Normal file
3
config/routes/graphql.rb
Normal file
@@ -0,0 +1,3 @@
|
||||
get '/graphql', to: 'graphql#query'
|
||||
post '/graphql', to: 'graphql#query'
|
||||
mount GraphiQL::Rails::Engine, at: '/graphiql', graphql_path: '/graphql'
|
||||
Reference in New Issue
Block a user