graphql setup
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
Rails.application.routes.draw do
|
||||
devise_for :users, controllers: { omniauth_callbacks: 'users/omniauth_callbacks' }
|
||||
post "/graphql", to: "graphql#execute"
|
||||
|
||||
ActiveAdmin.routes(self)
|
||||
|
||||
if Rails.env.development?
|
||||
mount GraphqlPlayground::Rails::Engine, at: "/playground", graphql_path: "/graphql"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user