Created
March 14, 2017 10:02
-
-
Save Humoud/330a208460dd6b744c0bda0829558d27 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### GraphQL Stuff #### | |
post '/graphql', to: 'graphql#query' | |
if Rails.env.development? | |
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