Module: ContentsHelper

Defined in:
lib/generators/contentment/contentment_views_templates/contents_helper.rb

Instance Method Summary collapse

Instance Method Details

#content_tipe_optionsObject

Is a helper really necessary? Apparently I thought so at some point. <%#= f.select :tipe, content_tipe_options %> When the helper is longer than what it replaces you’ve got a problem. :P



6
7
8
# File 'lib/generators/contentment/contentment_views_templates/contents_helper.rb', line 6

def content_tipe_options
  Content.tipes
end