Fixed bug in wiki "all pages" view.
This commit is contained in:
parent
e93dd9e046
commit
b5df80b7dd
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
||||||
%th Titel
|
%th Titel
|
||||||
%th Zuletzt aktualisiert
|
%th Zuletzt aktualisiert
|
||||||
- homepage = Page.find_by_permalink('Home')
|
- homepage = Page.find_by_permalink('Home')
|
||||||
|
- unless homepage.nil?
|
||||||
= render :partial => 'page_list_item', :locals => {:page => homepage, :level => 0, :siteMap => 1}
|
= render :partial => 'page_list_item', :locals => {:page => homepage, :level => 0, :siteMap => 1}
|
||||||
- for page in @top_pages
|
- for page in @top_pages
|
||||||
- if page.id != homepage.id
|
- if page.id != homepage.id
|
||||||
|
|
Loading…
Reference in a new issue