Skip to content

Commit cddd3ba

Browse files
committed
Merge pull request #14 from ghilead/change_title_to_app_name
Changing the title to the app name.
2 parents f01960c + e5b1614 commit cddd3ba

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)