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.
2 parents 83493cb + dc9b14e commit 01350e7Copy full SHA for 01350e7
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