El divendres, 19 octubre de 2018 16:44:56 UTC+2, sri va escriure:
>
> I believe there is no easy way to use it in that context. Those route
> tokens are reconfigurable
> for use with more advanced features like route shortcuts.
>
> I have been digging inside the app variable and I think I just fixed doing
this before app->start:
my $routes = app->routes->children;
for my $route (@$routes){
$route->pattern->quote_start('(');
$route->pattern->quote_end(')');
$route->pattern->parse($route->pattern->unparsed);
}
--
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 https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.