Skip to content
Snippets Groups Projects
Commit 0e3e990f authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Fix #1718

parent 285cdda9
No related branches found
No related tags found
No related merge requests found
......@@ -142,7 +142,11 @@ class Communication::Website::Page < ApplicationRecord
if bodyclass.present?
bodyclass
elsif inherited_bodyclass
"ancestor-#{inherited_bodyclass}"
inherited_bodyclass.split(' ')
.map { |bodyclass|
"ancestor-#{bodyclass}"
}
.join(' ')
end
end
......
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