Add home to breadcrum
This commit is contained in:
1 parent
bc21840262
commit
25d9a3d9b9
2 files changed
-2
No files matched your search
@@ -148,7 +148,6 @@ module ParserCommon
|
||||
def parse_breadcrumbs_edit(body = nil, page = nil, edit=nil)
|
||||
body.css('breadcrumb').each do |breadcrumb|
|
||||
ancestors = Page.find(page.id).ancestors_and_self rescue nil
|
||||
ancestors.delete_at(0)
|
||||
res = ''
|
||||
if ancestors
|
||||
res << "<ul class='breadcrumb'>"
|
||||
|
||||
Reference in new issue
Block a user