Playframework route file: Separate Production routes from Dev routes
问题 Is there a way in Play to annotate routes to inform that a certain section/group routes is only available in dev or prod mode 回答1: Well, this is not documented, so I am not sure if this is intentionally possible or not, but I have found a way to make this work. Please note however, as this is an undocumented feature, may mean it is unintended, and therefore may break in future versions of play. You are able to achieve what you want using the following line in your routes file. %{ if (play