diff options
author | Phil Hughes <me@iamphill.com> | 2018-12-13 13:12:13 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-12-13 13:12:13 +0300 |
commit | 744f6ed12bf1ce543b4c903d27cfd8362e91795d (patch) | |
tree | aea590d166e5610ddb5b030f7579343adba3dccf /config | |
parent | 2bb468d6b91e164eb8144877015961fe40b2709f (diff) |
Enable GraphQL API endpoint
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/api.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/api.rb b/config/routes/api.rb index b1aebf4d606..5398e726398 100644 --- a/config/routes/api.rb +++ b/config/routes/api.rb @@ -1,4 +1,4 @@ -constraints(::Constraints::FeatureConstrainer.new(:graphql)) do +constraints(::Constraints::FeatureConstrainer.new(:graphql, nil, true)) do post '/api/graphql', to: 'graphql#execute' mount GraphiQL::Rails::Engine, at: '/-/graphql-explorer', graphql_path: '/api/graphql' end |