Add feature flag for the GraphQL API

This commit is contained in:
Juanjo Bazán
2017-11-23 12:11:27 +01:00
committed by Javi Martín
parent bb627a7117
commit 0063e7b4d8
5 changed files with 15 additions and 0 deletions

View File

@@ -1,4 +1,7 @@
class GraphqlController < ApplicationController
include FeatureFlags
feature_flag :graphql_api
skip_before_action :verify_authenticity_token
skip_authorization_check