Skip to content
Browse files

Not all pages which include breadcrumbs define "module", such as the …

…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...
1 parent c87b6f6 commit 08b9494507da64246c57ad5d497f416b6a364004 @tsibley tsibley committed Feb 4, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 root/inc/breadcrumbs.html
View
2 root/inc/breadcrumbs.html
@@ -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>

0 comments on commit 08b9494

Please sign in to comment.
Something went wrong with that request. Please try again.