Since the update I'm getting some compile warning about my routes file. Everything still seems to work just fine and I don't know how to resolve these warnings. Could someone please give me a little hint whats wrong here? Thanks in advance!
[warn] /conf/routes:83: patterns after a variable pattern cannot match (SLS 8.1.1)
[warn] If you intended to match against parameter page of method index, you must use backticks, like: case `page` =>
[warn] GET /trainer/singletraining/availability/:page @controllers.trainer.singletraining.AvailabilityCtrl.index(page: Integer)
[warn] /conf/routes:82: unreachable code due to variable pattern 'page' on line 1127
[warn] If you intended to match against parameter page of method index, you must use backticks, like: case `page` =>
[warn] GET /trainer/singletraining/availability @controllers.trainer.singletraining.AvailabilityCtrl.index(page: Integer = 1)
[warn] /conf/routes:82: unreachable code
[warn] GET /trainer/singletraining/availability @controllers.trainer.singletraining.AvailabilityCtrl.index(page: Integer = 1)
Relevant part of the routes file:
Line 82:
GET /trainer/singletraining/availability @controllers.trainer.singletraining.AvailabilityCtrl.index(page: Integer = 1)
Line 83:
GET /trainer/singletraining/availability/:page @controllers.trainer.singletraining.AvailabilityCtrl.index(page: Integer)