Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for cascading mailer path being added to template path when using…
… partials in email templates As per padrino#2231, when using multiple partials within an email template, the mailer name keeps getting added to the file path for each subsequent partial in the same template, resulting in an `Errno::ENOENT: No such file or directory @ rb_sysopen` error. Added a check to `settings.view` in the render routine to see if the mailer path was already in the string before adding it.
- Loading branch information