Module: SectionsHelper

Defined in:
app/helpers/sections_helper.rb

Instance Method Summary collapse

Instance Method Details

#section_types_option_valuesObject


2
3
4
5
6
# File 'app/helpers/sections_helper.rb', line 2

def section_types_option_values
  Section.types.map do |type|
    [t(:"section.types.#{type.demodulize.underscore}"), type]
  end
end