Nice breadcrumb

This commit is contained in:
benni 2012-10-18 23:43:31 +02:00
parent 9af26e1da6
commit fd361090b4

View file

@ -27,13 +27,15 @@
- @page.children.each do |page|
%li= link_to_wikipage(page)
#breadcrump
= link_to_wikipage_by_permalink("Home", "Foodcoop-Wiki")
%ul.breadcrumb
%li
= link_to_wikipage_by_permalink("Home", "Foodcoop-Wiki")
%span.divider /
- for page in @page.ancestors.reverse
%span.wikiSeparator >
= link_to_wikipage(page)
%span.wikiSeparator >
= @page.title
%li
= link_to_wikipage(page)
%span.divider /
%li.active= @page.title
#wikiContent