Mutualize a duplicated render instruction

This commit is contained in:
gregoirenovel 2017-12-14 16:23:15 +01:00
parent 8be550f869
commit 9766a48d64
20 changed files with 9 additions and 37 deletions

View file

@ -0,0 +1,5 @@
module ChampHelper
def is_not_header_nor_explication?(champ)
!['header_section', 'explication'].include?(champ.type_champ)
end
end