Don't put an empty list on the page when there's no bread crumbs.

This commit is contained in:
Chris Eppstein 2010-03-27 23:24:26 -07:00
parent 402a009e4d
commit 88f887938b

View File

@ -1,3 +1,4 @@
- if breadcrumbs_trail.size > 1
%ol#breadcrumbs
- breadcrumbs_trail.each_with_index do |bc, index|
- klass = "first" if index == 0