Class: Decidim::Api::GraphiQLController
- Inherits:
-
ApplicationController
- Object
- DecidimController
- ApplicationController
- Decidim::Api::GraphiQLController
- 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
Instance Method Details
#graphql_endpoint_path ⇒ Object
14 15 16 |
# File 'decidim-api/app/controllers/decidim/api/graphiql_controller.rb', line 14 def graphql_endpoint_path params[:graphql_path] end |
#show ⇒ Object
11 |
# File 'decidim-api/app/controllers/decidim/api/graphiql_controller.rb', line 11 def show; end |