Cannot find hbs template.
Hi there! There is a quirk whith Dancer2::Template::Handlebars when trying to parse template file. Here https://gitlab.com/GeekRuthie/Dancer2-Template-Handlebars/-/blob/main/lib/Dancer2/Template/Handlebars.pm#L71. I dump $template var and see full path to template file. But later in Text::Xlate.pm on line 312 it concatenating with app root path. So this file couldn't be found and error occurs: Text::Handlebars: LoadError: Cannot find .... at Template/Handlebars.pm line 71.
Maybe you know how to fix this?
Because Handlebars is really cool and i wanna use it everywhere with dancer.
By the way, i found strange way of solving the problem. Just add to config.yml relative path to views folder like: views: views
Edited by AlexP007