From dac4a543c92074b8639bf0d53cd1d76efe7b2845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Giroux?= Date: Sat, 11 Feb 2017 16:14:51 -0500 Subject: [PATCH] GraphiQL on root --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 6a2dd27..f704387 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,6 +1,6 @@ Rails.application.routes.draw do if Rails.env.development? - mount GraphiQL::Rails::Engine, at: "/graphiql", graphql_path: "/graphql" + mount GraphiQL::Rails::Engine, at: "/", graphql_path: "/graphql" end post '/graphql', to: 'graphql#execute'