Use graphql playground instead of graphiql
This commit is contained in:
parent
e45d56c681
commit
7a8fd3c679
5 changed files with 12 additions and 87 deletions
|
@ -224,7 +224,7 @@ Rails.application.routes.draw do
|
|||
#
|
||||
|
||||
authenticated :user, lambda { |user| user.administrateur_id && Flipper.enabled?(:administrateur_graphql, user) } do
|
||||
mount GraphiQL::Rails::Engine, at: "/graphql", graphql_path: "/api/v2/graphql", via: :get
|
||||
mount GraphqlPlayground::Rails::Engine, at: "/graphql", graphql_path: "/api/v2/graphql"
|
||||
end
|
||||
|
||||
namespace :api do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue