简体   繁体   中英

What does this mean “Missing template” (ruby, rails 4, devise 2)?

I'm a newbie and don't understand where this error message:

Missing template customer_mailer/confirmation_instructions with "mailer". Searched in:
  * "customer_mailer"

Where is it expecting the template to be ?

This message tells you need a view called confirmation_instructions.html.* in your app/views/customer_mailer/ path.

The * must be changed according to your handler: erb , haml , etc.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM