author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Tue, 10 Dec 2013 07:49:48 +0000 | |
changeset 153 | af8fff37dd1c |
parent 104 | 729b86eae005 |
permissions | -rw-r--r-- |
104
729b86eae005
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1 |
# Application1 needs entries for both GET and POST |
729b86eae005
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
2 |
# |
729b86eae005
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
3 |
# all other applications only need an entry for GET |
729b86eae005
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
4 |
|
729b86eae005
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
5 |
# Home page |
729b86eae005
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
6 |
GET / controllers.Application.index |
729b86eae005
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
7 |
#POST / controllers.Application.receive |
729b86eae005
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
8 |
|
729b86eae005
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
9 |
# Map static resources from the /public folder to the /assets URL path |
729b86eae005
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
10 |
GET /assets/*file controllers.Assets.at(path="/public", file) |