defaults -> default

This commit is contained in:
Steve Klabnik 2012-04-04 11:15:52 -03:00
parent 43ce3e1895
commit 02ae325cdc
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ ActionMailer class.
```ruby
class ArticleMailer < ActionMailer::Base
defaults 'init-draper' => Proc.new { set_current_view_context }
default 'init-draper' => Proc.new { set_current_view_context }
end
```
### Integration with RSpec