Closed liaham closed 1 month ago
Hm, I see the warning but don't know how to fix it. If I remove .html.erb from the path, the template is not found.
I think that I've finally found a solution....
Very good idea to extend the view_path temporarily! Looks good to me.
Especially when running test, redmine_dmsf gives a deprecation warning:
The reason for this warning is this line of code in
app/views/mailer/_issue.html.erb
:Writing pathes to partials with '.' in the file name is deprecated since Rails 6.1 and will raise a
MissingTemplate
with Rails 7.0 (see https://github.com/rails/rails/pull/38858#issuecomment-871748632).