Class: Decidim::Api::GraphiQLController

Inherits:
ApplicationController show all
Includes:
ForceAuthentication, NeedsOrganization
Defined in:
app/controllers/decidim/api/graphiql_controller.rb

Overview

Controller to serve the GraphiQL client. Used so that we can hook the ‘ForceAuthentication` module.

Instance Method Summary collapse

Methods inherited from ApplicationController

#permission_class_chain, #permission_scope

Instance Method Details

#graphql_endpoint_pathObject



14
15
16
# File 'app/controllers/decidim/api/graphiql_controller.rb', line 14

def graphql_endpoint_path
  params[:graphql_path]
end

#showObject



11
# File 'app/controllers/decidim/api/graphiql_controller.rb', line 11

def show; end