Sha256: 5f41e0cd79219b3956c8cbbe7f1407f602aab84370109b874ac518075304acdc

Contents?: true

Size: 243 Bytes

Versions: 1

Compression:

Stored size: 243 Bytes

Contents

class <%= class_name %>Decorator < ApplicationDecorator
  # Use `object` or `o` to access object
  # Use `helper` or `h` to access helpers
  #
  # Example:
  #
  # def created_at
  #   h.content_tag :span, o.created_at.to_s(:long)
  # end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
light-decorator-1.0.0 lib/generators/rails/decorator/templates/decorator.rb