Skip to content

Commit

Permalink
Add API link in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy committed Mar 3, 2025
1 parent 496689e commit 1af37be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/views/application/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<ul class="list-unstyled">
<li class="mb-2"><a href="https://github.com/manyfold3d/manyfold" target="_blank"><%= t ".code" %></a></li>
<li class="mb-2"><a href="https://github.com/manyfold3d/manyfold/issues" target="_blank"><%= t ".issues" %></a></li>
<li class="mb-2"><%= link_to t(".api"), api_url, target: "_blank" %></li>
</ul>
</div>
<div class="col-4 col-lg-2 mb-3">
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ en:
title: Filters
unknown: Unknown
footer:
api: API
by_html: Designed and built by <a href="https://floppy.org.uk" target="_blank">James</a> with help from <a href="https://github.com/manyfold3d/manyfold/graphs/contributors" target="_blank">our contributors</a>.
chat: Chat
code: Code
Expand Down
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,6 @@
mount Tus::Server => "/upload", :as => :upload
end

mount Rswag::Ui::Engine => "/api"
mount Rswag::Ui::Engine => "/api", :as => :api
mount Rswag::Api::Engine => "/api"
end

0 comments on commit 1af37be

Please sign in to comment.