Skip to content

Instantly share code, notes, and snippets.

@onedebos
Created March 26, 2020 15:10
Show Gist options
  • Save onedebos/d292a01163b0138b08da18b8b5c0460d to your computer and use it in GitHub Desktop.
Save onedebos/d292a01163b0138b08da18b8b5c0460d to your computer and use it in GitHub Desktop.
Routes.rb file for the CoronaQL tutorial
Rails.application.routes.draw do
post "/graphql", to: "graphql#execute"
mount GraphiQL::Rails::Engine, at: "/graphiql", graphql_path: "/graphql"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment