I am not quite sure, but I found that nearly all .pm files which contain statement like
template '/admin/posts/list' must be changed to template 'admin/posts/list'
or, a Runtime Error like this will be throw:
Failed to render template: file error - /admin/tags/list.tt: not found at /usr/local/share/perl/5.20.2/Dancer2/Core/Role/Template.pm line 132.
Basic environment of my machine:
ubuntu 15.10
perl 5.20.2
Daner2 0.166001
I am not quite sure, but I found that nearly all
.pm
files which contain statement liketemplate '/admin/posts/list'
must be changed totemplate 'admin/posts/list'
or, a Runtime Error like this will be throw:Failed to render template: file error - /admin/tags/list.tt: not found at /usr/local/share/perl/5.20.2/Dancer2/Core/Role/Template.pm line 132.
Basic environment of my machine: ubuntu 15.10 perl 5.20.2 Daner2 0.166001