How to Route URLs in Play 2.0 so They're Indifferent to an Ending Slash

playframework, playframework-2.0, regex, routes, scala

Solution

This is currently not supported and a ticket has been submitted to the issue tracker. There is also a discussion regarding this (including some workarounds) on Google Groups.

Hopefully this will be implemented in some smart way soon.

Problem

Can I capture the following two routes in a single line? ``` GET /game controllers.Main.app.gamelist GET /game/ controllers.Main.app.gamelist ```

Original source

Related problems