Sha256: 138500f8099671622b538a004e21a5280dd16c5edd3212546f2578dcd03de37e

Contents?: true

Size: 281 Bytes

Versions: 3

Compression:

Stored size: 281 Bytes

Contents

module ContentsHelper

  # 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  
  def content_tipe_options
    Content.tipes
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
contentment-0.7.0 lib/generators/contentment/contentment_views_templates/contents_helper.rb
contentment-0.6.1 lib/generators/contentment/contentment_views_templates/contents_helper.rb
contentment-0.6.0 lib/generators/contentment/contentment_views_templates/contents_helper.rb