commit
52f657aa15
2
Gemfile
2
Gemfile
|
@ -54,7 +54,7 @@ gem "unicorn"
|
||||||
gem "acts-as-taggable-on", "2.3.1"
|
gem "acts-as-taggable-on", "2.3.1"
|
||||||
|
|
||||||
# Decorators
|
# Decorators
|
||||||
gem "drapper"
|
gem "draper"
|
||||||
|
|
||||||
# Background jobs
|
# Background jobs
|
||||||
gem "resque", "~> 1.20.0"
|
gem "resque", "~> 1.20.0"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
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)
|
||||||
|
|
Loading…
Reference in a new issue