blob: d51b35ae66346952a5b803c512ffcd39e39dc876 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package test.cask
object StaticFiles extends cask.MainRoutes{
@cask.get("/")
def index() = {
"Hello!"
}
@cask.static("/static")
def staticRoutes = "cask/resources/cask"
initialize()
}
|