Closed gregology closed 6 years ago
Very nice, thanks for upstreaming this improvement!
@rmosolgo Just want to mention that if the logo is not specified, it renders null
on the page which is a bit confusing for someone that is not aware of the config (like I was).
The title should default to GraphiQL
when GraphiQL::Rails.config.title
is not specified
https://github.com/rmosolgo/graphiql-rails/blob/master/app/views/graphiql/rails/editors/show.html.erb#L4
Can you inspect the element to see if it's set to something else?
Adds a config option for custom title tag and logo.
Usage:
config/initializers/graphiql.rb
For review @rmosolgo
I'll close https://github.com/rmosolgo/graphiql-rails/pull/47 which only had the title option.
Cheers Team!