Class: GraphiQL::Rails::EditorsController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/graphiql/rails/editors_controller.rb

Instance Method Summary collapse

Instance Method Details

#graphql_endpoint_pathObject


8
9
10
# File 'app/controllers/graphiql/rails/editors_controller.rb', line 8

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

#showObject


4
5
# File 'app/controllers/graphiql/rails/editors_controller.rb', line 4

def show
end