1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00

update comment in generator.

You'd get an infinite loop with the current one
This commit is contained in:
Steve Klabnik 2012-06-27 11:19:37 -04:00
parent 3b095db3fc
commit 30452c9ad4

View file

@ -27,7 +27,7 @@ class <%= class_name %>Decorator < <%= parent_class_name %>
# generated by ActiveRecord: # generated by ActiveRecord:
# #
# def created_at # 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' # :class => 'timestamp'
# end # end
end end