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,7 +4,8 @@
|
||||||
%th Titel
|
%th Titel
|
||||||
%th Zuletzt aktualisiert
|
%th Zuletzt aktualisiert
|
||||||
- homepage = Page.find_by_permalink('Home')
|
- homepage = Page.find_by_permalink('Home')
|
||||||
= render :partial => 'page_list_item', :locals => {:page => homepage, :level => 0, :siteMap => 1}
|
- unless homepage.nil?
|
||||||
|
= 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
|
||||||
= render :partial => 'page_list_item', :locals => {:page => page, :level => 0, :siteMap => 1}
|
= render :partial => 'page_list_item', :locals => {:page => page, :level => 0, :siteMap => 1}
|
||||||
|
|
Loading…
Reference in a new issue