template_paths config to allow easier override of web templates
This commit is contained in:
@@ -30,7 +30,7 @@ register 'register_template_path' => sub {
|
||||
return error "bad template path to register_template_paths";
|
||||
}
|
||||
|
||||
push @{ config->{engines}->{netdisco_template_toolkit}->{INCLUDE_PATH} },
|
||||
unshift @{ config->{engines}->{netdisco_template_toolkit}->{INCLUDE_PATH} },
|
||||
dir($path, 'views')->stringify;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user