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

Update template to generate 'decorates' line

This commit is contained in:
Jeff Casimir 2011-07-23 08:44:59 -07:00
parent 577277b6bd
commit 5938954616

View file

@ -1,4 +1,5 @@
class <%= singular_name.camelize %>Decorator < Draper::Base class <%= singular_name.camelize %>Decorator < Draper::Base
decorates :<%= singular_name.to_sym %>
# Helpers from Rails an Your Application # Helpers from Rails an Your Application
# You can access any helper via a proxy to ApplicationController # You can access any helper via a proxy to ApplicationController