Class: GraphiQL::Rails::EditorsController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- GraphiQL::Rails::EditorsController
- Defined in:
- app/controllers/graphiql/rails/editors_controller.rb
Instance Method Summary collapse
Instance Method Details
#graphql_endpoint_path ⇒ Object
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 |
#show ⇒ Object
4 5 |
# File 'app/controllers/graphiql/rails/editors_controller.rb', line 4 def show end |