NOJIRA Fix deprecation warning: 'Passing the format in the template name...

... is deprecated'

Fix is per advice at https://github.com/rails/rails/issues/7288