Class: GraphqlPlaygroundRails::PlaygroundController

Inherits:
ApplicationController show all
Defined in:
app/controllers/graphql_playground_rails/playground_controller.rb

Instance Method Summary collapse

Instance Method Details

#graphql_endpoint_pathObject



10
11
12
13
14
# File 'app/controllers/graphql_playground_rails/playground_controller.rb', line 10

def graphql_endpoint_path
  params[:graphql_path] || raise(
    %(You must include `graphql_path: "/my/endpoint"` when mounting GraphqlPlaygroundRails)
  )
end

#showObject



7
# File 'app/controllers/graphql_playground_rails/playground_controller.rb', line 7

def show; end