Hi guys,

I have a route protected by an *over* route condition. I also have a 
*Catch-All* route where I'd like to show some message to the user who 
requests for a page that doesn't match any other registered route. What I 
find is that when the *over* route condition fails, the route callback for 
my Catch-all route is getting executed. Now, I'm not sure if this is 
expected behaviour but is there a way for me to avoid this i.e. if the 
route condition fails, just exit directly.

I have added a Github Gist here <https://gist.github.com/amarnus/11327751>that 
describes my problem with a trivial Mojolicious::Lite (v4.93) app. Can 
someone help me out?

-- 
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.

Reply via email to