We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83493cb commit dc9b14eCopy full SHA for dc9b14e
app/views/grape_swagger_rails/application/index.html.erb
@@ -1,5 +1,5 @@
1
<!DOCTYPE html>
2
-<html data-swagger-options="<%= GrapeSwaggerRails.options.to_json %>">
+<html data-swagger-options="<%= GrapeSwaggerRails.options.to_h.to_json %>">
3
<head>
4
<title><%= GrapeSwaggerRails.options.app_name || 'Swagger UI' %></title>
5
<link href='//fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'/>
0 commit comments