Skip to content

Commit

Permalink
Not all pages which include breadcrumbs define "module", such as the …
Browse files Browse the repository at this point in the history
…release page

Use "release" when "module" isn't available.  This partial is already
full of checks for module falling back to release.

Originally broken by bootstrap refactoring of breadcrumbs in 67b4b89.
  • Loading branch information
tsibley committed Feb 4, 2014
1 parent c87b6f6 commit 08b9494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/inc/breadcrumbs.html
Expand Up @@ -33,7 +33,7 @@
<span><% release.name %></span>
<% END %>
</div>
<div class="inline"><%- INCLUDE inc/favorite.html module = module %></div>
<div class="inline"><%- INCLUDE inc/favorite.html module = module || release %></div>
<%- IF module %>
<span>&nbsp;/&nbsp;
<% module.documentation %></span>
Expand Down

0 comments on commit 08b9494

Please sign in to comment.