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

Revert

parent 855fb2da
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ module Communication::Block::WithHeadingRanks
def heading_rank_children
return false unless heading_children?
title.present? ? heading_rank_self + 1 : heading_rank_self
heading_rank_self ? heading_rank_self + 1 : heading_rank_base
end
def heading_children?
......
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