Sha256: a7eb4bde3d565f056bbd8c99cb40743430728b8542d3898ca5b147392d910ae7

Contents?: true

Size: 169 Bytes

Versions: 10

Compression:

Stored size: 169 Bytes

Contents

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
adva-core-0.0.14 app/helpers/sections_helper.rb
adva-core-0.0.13 app/helpers/sections_helper.rb
adva-core-0.0.9 app/helpers/sections_helper.rb
adva-core-0.0.8 app/helpers/sections_helper.rb
adva-core-0.0.7 app/helpers/sections_helper.rb
adva-core-0.0.6 app/helpers/sections_helper.rb
adva-core-0.0.5 app/helpers/sections_helper.rb
adva-core-0.0.4 app/helpers/sections_helper.rb
adva-core-0.0.2 app/helpers/sections_helper.rb
adva-core-0.0.1 app/helpers/sections_helper.rb