in reply to
Re^2: Mojolicious templates
in thread
Mojolicious templates
It would be nice if you posted your solution here for future reference. There might be others in the same situation.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
Comment on
Re^3: Mojolicious templates
Replies are listed 'Best First'.
Re^4: Mojolicious templates
by
darutoko
(Initiate)
on May 01, 2013 at 10:20 UTC
The obvious solution is to use '..' in path like:
$self->stash(layout => '../path/to/layout');
But IMHO better way is to use
$self->stash(extends => 'path/to/layout');
[reply]
[d/l]
[select]
In Section
Seekers of Perl Wisdom