programs/routes
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 12 Nov 2013 10:51:02 +0000
changeset 130 4e8482e50590
parent 13 2bd3530c30af
permissions -rw-r--r--
more slides
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13
2bd3530c30af added programs
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
# Application1 needs entries for both GET and POST 
2bd3530c30af added programs
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
#
2bd3530c30af added programs
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
# all other applications only need an entry for GET
2bd3530c30af added programs
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
2bd3530c30af added programs
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
# Home page
2bd3530c30af added programs
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
GET     /                           controllers.Application.index
2bd3530c30af added programs
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
#POST    /                           controllers.Application.receive
2bd3530c30af added programs
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
2bd3530c30af added programs
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
# Map static resources from the /public folder to the /assets URL path
2bd3530c30af added programs
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
GET     /assets/*file               controllers.Assets.at(path="/public", file)