mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
correct a tiny typo
This commit is contained in:
parent
d6e361b206
commit
442c0adac2
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ To use decorators in mailers that use helpers, you have to call `set_current_vie
|
|||
mailer method:
|
||||
|
||||
```ruby
|
||||
class ActicleMailer < ActionMailer::Base
|
||||
class ArticleMailer < ActionMailer::Base
|
||||
def new_article(article)
|
||||
set_current_view_context
|
||||
@article_decorator = ArticleDecorator.decorate(article)
|
||||
|
|
Loading…
Reference in a new issue