Skip to content

Commit

Permalink
Adding the title in the config initializer in the views title
Browse files Browse the repository at this point in the history
  • Loading branch information
Metalzoid committed Aug 27, 2024
1 parent 3f96a11 commit f21da3a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/views/oas_rails/oas_rails/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
<!DOCTYPE html>
<html>
<head>
<title>Oas rails</title>
<title><%= OasRails.config.info.title %></title>
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
<meta charset="utf-8">
<!-- Important: rapi-doc uses utf8 characters -->
<script type="module" src="https://unpkg.com/rapidoc/dist/rapidoc-min.js"></script>
</head>
<body>
<rapi-doc
spec-url = "<%= OasRails::Engine.routes.find_script_name({}) %>.json"
theme = "dark"
<rapi-doc
spec-url = "<%= OasRails::Engine.routes.find_script_name({}) %>.json"
theme = "dark"
bg-color="#0F172A"
text-color= "#f7f7f7"
text-color= "#f7f7f7"
show-header = 'false'
primary-color = "#2de410"
font-size="largest"
show-method-in-nav-bar="as-colored-text"
nav-text-color="#f7f7f7"
nav-item-spacing="relaxed"
allow-spec-file-download="true"
>
>
</rapi-doc>
</body>
</html>

0 comments on commit f21da3a

Please sign in to comment.