|
|
class ApplicationDecorator < Drapper::Base
|
|
class ApplicationDecorator < Draper::Base
|
|
|
# Lazy Helpers
|
|
# Lazy Helpers
|
|
|
# PRO: Call Rails helpers without the h. proxy
|
|
# PRO: Call Rails helpers without the h. proxy
|
|
|
# ex: number_to_currency(model.price)
|
|
# ex: number_to_currency(model.price)
|
| ... | |
... | |
| ... | | ... | |