Class: Decidim::Api::GraphiQLController

Inherits:
ApplicationController show all
Includes:
ForceAuthentication, NeedsOrganization
Defined in:
decidim-api/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 included from NeedsOrganization

enhance_controller, extended, included

Methods inherited from ApplicationController

#permission_class_chain, #permission_scope

Methods included from RegistersPermissions

register_permissions

Instance Method Details

#graphql_endpoint_pathObject



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

def graphql_endpoint_path
  params[:graphql_path]
end

#showObject



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

def show; end