In my M::L app have routes:
get '/manager/period/days' => sub {...};
get '/manager/period/days/:date' => sub {...};

They works correctly. /manager/period/days calls correctly subroutine, 
/manager/period/days/2013-12-26 calls correctly subroutine.
But when the app "trying grow" to Mojolicious, i have problem with that 
routes.

...
my $r = $self->routes;
$r->get('/manager/period/days/:date')->to('manager#period_days');
$r->get('/manager/period/days')      ->to('manager#days');
...

Page not found... yet!
None of these routes matched your GET request for 
/manager/period/days/2013-12-25, maybe you need to add a new one?

Tried interchange their places, but no result.

This is a bug or a feature?

-- 
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/groups/opt_out.

Reply via email to