Skip to content
Snippets Groups Projects
Commit 7b7f1f82 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

don't change template directory on the fly, this is a persistent app now

parent f9728348
No related branches found
No related tags found
No related merge requests found
......@@ -68,6 +68,7 @@ sub startup {
$base_templates_dir->child('web', $theme),
$base_templates_dir->child('web'),
$base_templates_dir->child('accounts'),
$base_templates_dir->child('other'),
]);
$self->defaults(
......
......@@ -49,10 +49,6 @@ sub run {
}
$app->types()->type(csv => 'text/csv');
$app->renderer()->paths([
$app->home()->child('templates', 'other'),
$app->home()->child('templates', 'accounts'),
]);
$self->stash(accounts => $accounts);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment