Fix problem in breadcrumps, when no "Home"-page exists.
This commit is contained in:
parent
6866c4eada
commit
004ce464c1
6 changed files with 21 additions and 5 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
.wiki_all
|
||||
#breadcrump
|
||||
= link_to_wikipage(Page.find_by_permalink("Home"), "Foodcoop-Wiki")
|
||||
= link_to_wikipage_by_permalink("Home", "Foodcoop-Wiki")
|
||||
|
||||
%h1 Alle Wikiseite
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue