1
0
Fork 0
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:
Jeff Casimir 2011-11-06 07:50:24 -08:00
commit 78b200a84f

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)