Closed AdamT closed 2 months ago
Hi @AdamT, thank you for opening this issue. I think that is working as expected (we're compiling the templates), but I'll try to look a little more into it to see if there's something better we can do here.
Just happened again. I couldn't remember how I solved it, so I managed to find this open issue, and it solved it 😅 Thank you for keeping it open 🙏
If anyone experiences anything similar, please chime in.
I have non-traditional setup if I had to guess.
The EmailView looks like this:
So I'm sending Emails from the context because I need to send them from a background job and so getting MyAppView involved didn't make sense to me. Anyhoo, the emails are sent from another module defined like:
When working with this reset feature I was getting this error:
The reason it is showing
reset.html
andreset.text
is because that was the working configuration before I changed it in the 1) filename, 2) put_html_layout, put_text_layout, and 3) render. So I changed all of these three toreset_password
and I got the template not found error. It wasn't compiling until I ranmix clean
andmix compile
. Then it worked fine.Not sure if this is an error on my part but thought it would be good to raise this observation.
(Thank you for maintaining this library!)