Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $self->hook(
- before_dispatch =>
- sub {
- my $app = shift;
- unshift @{$app->static->paths}, $app->home->rel_dir('sites/'. $self->getSiteID);
- }
- );
- $self->hook(
- after_static =>
- sub {
- my $app = shift;
- shift @{$app->static->paths};
- }
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement