Align template path to general structure.

agranig/1_0_subfix
Gerhard Jungwirth 13 years ago
parent 8ee2ff62db
commit ade81ba964

@ -58,7 +58,7 @@ sub index :Path Form {
$c->stash(form => $form);
$c->stash(realm => $realm);
$c->stash(template => 'login.tt');
$c->stash(template => 'login/login.tt');
}

@ -1,7 +1,7 @@
[%
IF template.name.match('(\.html$|\.css$|\.js$|\.txt$)');
content;
ELSIF template.name.match('^login\.tt$');
ELSIF template.name.match('^login\/login\.tt$');
content WRAPPER html.tt;
ELSE;
content WRAPPER html.tt + body.tt;

Loading…
Cancel
Save