spec/dummy/app/mailers/post_mailer.rb in strong_presenter-0.1.0 vs spec/dummy/app/mailers/post_mailer.rb in strong_presenter-0.2.0
- old
+ new
@@ -4,10 +4,10 @@
# Mailers don't import app/helpers automatically
helper :application
def presented_email(post)
- @post = PostPresenter.new(post).permit!
+ @post = PostPresenter.new(post).permit_all!
mail to: "to@example.com", subject: "A presented post"
end
private