Commit 52f657aa15e730c686eeb16dc102d2e5ce46d524
Exists in
master
and in
4 other branches
Merge pull request #1286 from steveklabnik/master
Misspelled Draper
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
Gemfile
@@ -54,7 +54,7 @@ gem "unicorn" | @@ -54,7 +54,7 @@ gem "unicorn" | ||
54 | gem "acts-as-taggable-on", "2.3.1" | 54 | gem "acts-as-taggable-on", "2.3.1" |
55 | 55 | ||
56 | # Decorators | 56 | # Decorators |
57 | -gem "drapper" | 57 | +gem "draper" |
58 | 58 | ||
59 | # Background jobs | 59 | # Background jobs |
60 | gem "resque", "~> 1.20.0" | 60 | gem "resque", "~> 1.20.0" |
app/decorators/application_decorator.rb
1 | -class ApplicationDecorator < Drapper::Base | 1 | +class ApplicationDecorator < Draper::Base |
2 | # Lazy Helpers | 2 | # Lazy Helpers |
3 | # PRO: Call Rails helpers without the h. proxy | 3 | # PRO: Call Rails helpers without the h. proxy |
4 | # ex: number_to_currency(model.price) | 4 | # ex: number_to_currency(model.price) |