defaults -> default
This commit is contained in:
parent
43ce3e1895
commit
02ae325cdc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue