I'm a newbie at Java and I'm using the play framework 2.0 for a project and was wondering how to use the reverse routing functionality. We have the following:
In the routes file
GET / controllers.Application.index()
GET /myapp/storage controllers.myapp.AnotherController.index()
So to use reverse routing:
controllers.routes.ref.Application.index()
but what about AnotherController?
If I use controllers.routes.ref.AnotherController.index() in a test, the play framework will throw an error "cannot find symbol".
Thanks.
ontrollers.routes.ref.myapp.AnotherController.index()? - ndeverge