We have SomeMailerinstalled inside our engine. After generating the mailer, Rails creates a class SomeMailerPreviewwith a comment:
# Preview this email at http:
However, as soon as I run the application Dummyinside my engine, this URL will not be resolved.
The engine is installed on the root path '/':
mount MyEngine::Engine => "/"
I tried different combinations of URLs with the name of the engine there, but don't allow it.
Can I use the preview function for the mail program inside the engine?
source
share