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.
>
>
> Thank you for your quick answer, Sebastian. So I was looking to do it in
a different way with regular
expressions but I can't make them work. No matter what always fails "not
found":
If that works :
get '/messages/read/(:id).json' => sub {
shouldn't this work too ?
get qr'/messages/read/(.*).json' => sub {
I am reading the docs here:
https://mojolicious.org/perldoc/Mojolicious/Guides/Routing#Routes
I searched for more specific regular expressions for Mojolicious::Route but
I couldn't find them,
sorry if I missed them.
--
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.