You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was caused by the change in #2197. Previously we generated the reverse routes for all routes, and later ones that matched the same controller call would produce an unreachable code warning. Removing duplicates with a ListMap removes the warning, but causes the last route to take priority instead of the first.
From the documentation:
However, the wrong route is used in this example:
routes-file:
controller-file:
Visiting index will redirect to url "/dont-use-this" and not "/use-this".
This bug has appeared since upgrading to Play 2.3.
The text was updated successfully, but these errors were encountered: