breadcrumb widget of front-end has done
Conflicts: app/controllers/front_controller.rb lib/parsers/parser_common.rb
This commit is contained in:
1 parent
f3bfe67e68
commit
bfad8467c8
2 files changed
+3
-6
No files matched your search
@@ -3,7 +3,7 @@ class FrontController < ApplicationController
|
||||
layout false
|
||||
|
||||
def show_breadcrumb
|
||||
@ancestors = Page.find(params[:page_id]).ancestors_and_self
|
||||
@ancestors = Page.find(params[:id]).ancestors_and_self
|
||||
@ancestors.delete_at(0)
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user