rmosolgo / graphiql-rails

Mount the GraphiQL query editor in a Rails app
MIT License
447 stars 137 forks source link

Work with Rails5 --api mode #11

Closed woniesong92 closed 8 years ago

woniesong92 commented 8 years ago

I get this error after a fresh install:

ActionController::RoutingError (No route matches [GET] "/javascripts/graphiql/rails/application.js")
Sailias commented 8 years ago

@woniesong92 You won't be able to use the view in api_mode.

Set that to false and make sure that require "sprockets/railtie" isn't commented.