Change the usage of lazy_helper by include Draper::LazyHelpers in generator template

This commit is contained in:
Cyril Mougel 2011-11-06 11:43:29 +01:00
parent 91bfd0138e
commit 27d49ba5e6
1 changed files with 2 additions and 2 deletions

View File

@ -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)