Skip to content

Commit

Permalink
Merge pull request drapergem#140 from colindean/patch-1
Browse files Browse the repository at this point in the history
correct a tiny typo
  • Loading branch information
jcasimir committed Mar 7, 2012
2 parents d6e361b + 442c0ad commit 279ea02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 279ea02

Please sign in to comment.