You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: