Skip to content

Commit e5b1614

Browse files
committed
Changing the title to the app name.
1 parent f01960c commit e5b1614

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/grape_swagger_rails/application/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html data-swagger-options="<%= GrapeSwaggerRails.options.to_json %>">
33
<head>
4-
<title>Swagger UI</title>
4+
<title><%= GrapeSwaggerRails.options.app_name || 'Swagger UI' %></title>
55
<link href='//fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'/>
66
<%= stylesheet_link_tag 'grape_swagger_rails/application.css' %>
77
<%= javascript_include_tag 'grape_swagger_rails/application.js' %>

0 commit comments

Comments
 (0)