You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chaning the values of 'views' and 'layout' inside the module (or the
route) needs to modify the value of the template engine.
By adding a trigger to the 'views' and 'layout' keys in the config, we
can alter the existing template.
Closes#251.
package D2Test;
use strict;
use warnings;
use Dancer2;
set views => 'xviews';
get '/' => sub {
template 'index';
};
1;
The text was updated successfully, but these errors were encountered: