summaryrefslogtreecommitdiff
path: root/example/scalatags/app/src/Scalatags.scala
blob: 600f0220a8aed1488a885bc282c22299fdff88c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package app
import scalatags.Text.all._
object Scalatags extends cask.MainRoutes{
  @cask.get("/")
  def hello() = {
    "<!doctype html>" + html(
      body(
        h1("Hello World"),
        p("I am cow")
      )
    )
  }

  initialize()
}