Skip to content
Snippets Groups Projects
Commit 722f4e18 authored by pabois's avatar pabois
Browse files

bodyclass

parent e3fabb2a
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ class Communication::Website::Page < ApplicationRecord
def best_bodyclass
return bodyclass if bodyclass.present?
parent&.best_bodyclass unless kind_home? || parent.kind_home?
parent&.best_bodyclass unless kind_home? || parent&.kind_home?
end
def update_children_paths
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment