Play!> Routes : url segment as a single parameter

This post is mainly a note for myself.

I was searching how to get a segment of an url (including some / characters) into a single parameter. The response is on stack overflow : use a regex.

The goal for me is to reroute a subset of RESTFUL call to the server really implementing the services.


About this entry