Remove breadcrumb when home
This commit is contained in:
1 parent
25d9a3d9b9
commit
ec9c68f039
2 files changed
+2
No files matched your search
@@ -4,6 +4,7 @@ class FrontController < ApplicationController
|
||||
|
||||
def show_breadcrumb
|
||||
@ancestors = Page.find(params[:id]).ancestors_and_self
|
||||
@ancestors = nil if @ancestors.size == 1
|
||||
end
|
||||
|
||||
def show_banner
|
||||
|
||||
Reference in new issue
Block a user