Class: GraphqlPlaygroundRails::PlaygroundController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- GraphqlPlaygroundRails::PlaygroundController
- Defined in:
- app/controllers/graphql_playground_rails/playground_controller.rb
Instance Method Summary collapse
Instance Method Details
#graphql_endpoint_path ⇒ Object
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 |
#show ⇒ Object
7 |
# File 'app/controllers/graphql_playground_rails/playground_controller.rb', line 7 def show; end |