mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
Merge pull request #76 from shingara/patch-1
Change the usage of lazy_helper by include Draper::LazyHelpers in generat
This commit is contained in:
commit
78b200a84f
1 changed files with 2 additions and 2 deletions
|
@ -7,8 +7,8 @@ class <%= singular_name.camelize %>Decorator < ApplicationDecorator
|
|||
# Normal Usage: helpers.number_to_currency(2)
|
||||
# Abbreviated : h.number_to_currency(2)
|
||||
#
|
||||
# Or, optionally enable "lazy helpers" by calling this method:
|
||||
# lazy_helpers
|
||||
# Or, optionally enable "lazy helpers" by include this module :
|
||||
# include Draper::LazyHelpers
|
||||
# Then use the helpers with no proxy:
|
||||
# number_to_currency(2)
|
||||
|
||||
|
|
Loading…
Reference in a new issue