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
Branches
Tags
No related merge requests found
...@@ -68,6 +68,7 @@ sub startup { ...@@ -68,6 +68,7 @@ sub startup {
$base_templates_dir->child('web', $theme), $base_templates_dir->child('web', $theme),
$base_templates_dir->child('web'), $base_templates_dir->child('web'),
$base_templates_dir->child('accounts'), $base_templates_dir->child('accounts'),
$base_templates_dir->child('other'),
]); ]);
$self->defaults( $self->defaults(
......
...@@ -49,10 +49,6 @@ sub run { ...@@ -49,10 +49,6 @@ sub run {
} }
$app->types()->type(csv => 'text/csv'); $app->types()->type(csv => 'text/csv');
$app->renderer()->paths([
$app->home()->child('templates', 'other'),
$app->home()->child('templates', 'accounts'),
]);
$self->stash(accounts => $accounts); $self->stash(accounts => $accounts);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment