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

How to custom template path? #110

Open
tonylee00111 opened this issue Sep 22, 2023 · 1 comment
Open

How to custom template path? #110

tonylee00111 opened this issue Sep 22, 2023 · 1 comment

Comments

@tonylee00111
Copy link

This is my code
mail(to: @profile.email, subject: 'Test mail ', template_path: 'mailer/user')
When using template_path:, the following error appears:
ActionView::MissingTemplate (Missing template user_mailer/order_success, application_mailer/order_success with {:locale=>[:en], :formats=>[:text], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :mjml]})
How should I modify the mail template path?

@sighmon
Copy link
Owner

sighmon commented Sep 25, 2023

@tonylee00111 If you'd like help with implementation please setup a repository that we can run so we can replicate the error and help you debug it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants