Skip to content

Commit

Permalink
Fix missing breadcrumb on file edit page
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy committed Jan 17, 2025
1 parent ccfebee commit 2a12cf1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/views/model_files/_breadcrumb.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
<nav aria-label="Breadcrumb" class="container-fluid">
<ol class="breadcrumb">
<li class="breadcrumb-item"><%= link_to @model.name, @model %></li>
<% if @file %>
<li class="breadcrumb-item">
<%= link_to @file.name, [@model, @file] %>
</li>
<% end %>
</ol>
</nav>
<% end %>

0 comments on commit 2a12cf1

Please sign in to comment.