progs/routes
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 30 Sep 2014 11:34:21 +0100
changeset 188 2555552d2c05
parent 104 729b86eae005
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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)