diff --git a/Gemfile b/Gemfile index 4629383e98633cc897ff1c61834e5408a5bd1084..045baa36974f5518c3d4e2971722ddb182b52e39 100644 --- a/Gemfile +++ b/Gemfile @@ -54,7 +54,7 @@ gem "unicorn" gem "acts-as-taggable-on", "2.3.1" # Decorators -gem "drapper" +gem "draper" # Background jobs gem "resque", "~> 1.20.0" diff --git a/app/decorators/application_decorator.rb b/app/decorators/application_decorator.rb index 7bc88648c77169eca0d58e53facf11813d7cae77..3023699e7004fce9813d7d40317c3a4ba68cdcbc 100644 --- a/app/decorators/application_decorator.rb +++ b/app/decorators/application_decorator.rb @@ -1,4 +1,4 @@ -class ApplicationDecorator < Drapper::Base +class ApplicationDecorator < Draper::Base # Lazy Helpers # PRO: Call Rails helpers without the h. proxy # ex: number_to_currency(model.price)