lib/generators/decorator/templates/decorator.rb in draper-0.15.0rc1 vs lib/generators/decorator/templates/decorator.rb in draper-0.15.0
- old
+ new
@@ -25,10 +25,10 @@
# Presentation Methods
# Define your own instance methods, even overriding accessors
# generated by ActiveRecord:
#
# def created_at
- # h.content_tag :span, time.strftime("%a %m/%d/%y"),
+ # h.content_tag :span, attributes["created_at"].strftime("%a %m/%d/%y"),
# :class => 'timestamp'
# end
end
<% end -%>