Hello,
I've got two routes conditions, let's say they are named foo and bar.
I would like to make a route available if foo OR bar is ok. Is there a
way to do this ? Is seems that
$r->get('/')->over('foo', 'bar)->to('Controller#index');
is available only if foo is ok.
Idem for over(['foo', 'bar]).
Am I doing something wrong ? What didn't I understood from
http://mojolicio.us/perldoc/Mojolicious/Routes/Route#over ?
Thx.
--
Luc
http://www.fiat-tux.fr/
Internet n'est pas compliqué, Internet est ce que vous en faites.
--
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.