In play framework 1, you could use in the routes file something like this (check documentation at http://www.playframework.org/documentation/1.2.5/routes#syntax)
<
Add the entry twice in your route file. One with the slash and one without.