Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for cascading mailer path being added when using partials in email templates #1

Merged
merged 1 commit into from
Oct 11, 2020

Commits on Oct 11, 2020

  1. 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.
    CyberFerret authored Oct 11, 2020
    Configuration menu
    Copy the full SHA
    dfeb428 View commit details
    Browse the repository at this point in the history