lib/generators/decorator/templates/decorator.rb in draper-1.2.0 vs lib/generators/decorator/templates/decorator.rb in draper-1.2.1
- old
+ new
@@ -9,10 +9,10 @@
# Define presentation-specific methods here. Helpers are accessed through
# `helpers` (aka `h`). You can override attributes, for example:
#
# def created_at
# helpers.content_tag :span, class: 'time' do
- # source.created_at.strftime("%a %m/%d/%y")
+ # object.created_at.strftime("%a %m/%d/%y")
# end
# end
end
<% end -%>