I have a RESTful controller that works when using a numeric ID. Now I
would like to accept user login names as ID and for some of the cases
this is an e-mail address. In short it boils down to routing the
request URL
GET /users/erik@mail.com
DELETE /users/erik@mail.com
Hi and thanks for the input. The problem was that I wanted to use .xml
as :format which was not possible without customized routes. I did
some reading and came up with a solution which I post if anyone else
has a similar problem: