At 2014-07-17 23:39:16 -0700, [email protected] wrote: > > sub before_dispatch { > my $self = shift; > my $path = 'abc/xyz/'; > $self->app->renderer->paths([$path]); # update the renderer path here > }
I bet this will just lead to hard-to-analyse bugs because the change is not limited to the one request, it'll persist in that process. So in the next request when you add foo/bar, you'll still also have abc/xyz except when the request is served by some other process. -- ams -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
