diff options
author | Phil Hughes <me@iamphill.com> | 2018-12-13 10:12:13 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-12-13 10:12:13 +0000 |
commit | 744f6ed12bf1ce543b4c903d27cfd8362e91795d (patch) | |
tree | aea590d166e5610ddb5b030f7579343adba3dccf /app/controllers/graphql_controller.rb | |
parent | 2bb468d6b91e164eb8144877015961fe40b2709f (diff) | |
download | gitlab-ce-744f6ed12bf1ce543b4c903d27cfd8362e91795d.tar.gz |
Enable GraphQL API endpoint
Diffstat (limited to 'app/controllers/graphql_controller.rb')
-rw-r--r-- | app/controllers/graphql_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/graphql_controller.rb b/app/controllers/graphql_controller.rb index 40f45b61fb9..3ef03bc9622 100644 --- a/app/controllers/graphql_controller.rb +++ b/app/controllers/graphql_controller.rb @@ -43,6 +43,6 @@ class GraphqlController < ApplicationController end def check_graphql_feature_flag! - render_404 unless Feature.enabled?(:graphql, default_enabled: true) + render_404 unless Gitlab::Graphql.enabled? end end |