To answer my own question

for an route like this:
/cities/:id/neighborhoods/:id/:

All i have to do is to have an controller as city name and then construct 
the route like this
/cities/:controller/:action

then, when accessing 
/cities/paris/show 
it will pass through Paris.pm controller, action=>show

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