Enables GraphQL UI in production

This commit is contained in:
rgarcia
2017-06-15 12:12:41 +02:00
parent 2a095a3b82
commit 3a50cc3a99
2 changed files with 2 additions and 2 deletions

View File

@@ -406,9 +406,9 @@ Rails.application.routes.draw do
if Rails.env.development?
mount LetterOpenerWeb::Engine, at: "/letter_opener"
mount GraphiQL::Rails::Engine, at: '/graphiql', graphql_path: '/graphql'
end
mount GraphiQL::Rails::Engine, at: '/graphiql', graphql_path: '/graphql'
mount Tolk::Engine => '/translate', :as => 'tolk'
# more info pages