Class: Graphql::Voyager::Rails::ExplorersController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/graphql/voyager/rails/explorers_controller.rb

Instance Method Summary collapse

Instance Method Details

#graphql_endpoint_pathObject



12
13
14
# File 'app/controllers/graphql/voyager/rails/explorers_controller.rb', line 12

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

#showObject



9
10
# File 'app/controllers/graphql/voyager/rails/explorers_controller.rb', line 9

def show
end