Mutualize a duplicated render instruction
This commit is contained in:
parent
8be550f869
commit
9766a48d64
20 changed files with 9 additions and 37 deletions
5
app/helpers/champ_helper.rb
Normal file
5
app/helpers/champ_helper.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
module ChampHelper
|
||||
def is_not_header_nor_explication?(champ)
|
||||
!['header_section', 'explication'].include?(champ.type_champ)
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue