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:
parent
577277b6bd
commit
5938954616
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue