
Fix three warnings when compile conf/routes
According to a comment from github [1], the warnings can be elimiated by flipping the order of the routing rules. [1]:https://github.com/playframework/playframework/issues/3360#issuecomment-5409698://github.com/playframework/playframework/issues/3360#issuecomment-54096985
@10783496dbe23438bda854c85cb8fc3294091876
--- conf/routes
+++ conf/routes
... | ... | @@ -10,9 +10,9 @@ |
10 | 10 |
# Home page |
11 | 11 |
GET / controllers.Application.index() |
12 | 12 |
# Map static resources from the /public folder to the /assets URL path |
13 |
-GET /assets/*file controllers.Assets.at(path="/public", file) |
|
14 | 13 |
GET /messages.js controllers.Application.jsMessages() |
15 | 14 |
GET /favicon.ico controllers.Assets.at(path="/public", file="images/favicon.ico") |
15 |
+GET /assets/*file controllers.Assets.at(path="/public", file) |
|
16 | 16 |
|
17 | 17 |
# Bootstrapping for test |
18 | 18 |
GET /init controllers.Application.init() |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?