简体   繁体   English

这是什么意思“缺少模板”(ruby,rails 4,设计2)?

[英]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. 此消息告诉您在app/views/customer_mailer/ path中需要一个名为confirmation_instructions.html.* app/views/customer_mailer/

The * must be changed according to your handler: erb , haml , etc. 必须根据您的处理程序更改*erbhaml等。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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