Mathieu
Mathieu

Reputation: 4787

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 ?

Upvotes: 0

Views: 323

Answers (1)

backpackerhh
backpackerhh

Reputation: 2353

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.

Upvotes: 2

Related Questions