Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

package dir

  • Loading branch information...
commit 36af3811662ab828635925b1c460e78e70837b13 1 parent 531dfea
Jared Armstrong jlarmstrong authored
Showing with 0 additions and 24 deletions.
  1. +0 −24 src/main/g8/src/main/scala/$servlet_name$.scala
24 src/main/g8/src/main/scala/$servlet_name$.scala
View
@@ -1,24 +0,0 @@
-package $package$
-
-import org.scalatra._
-import scalate.ScalateSupport
-
-class $servlet_name$ extends ScalatraServlet with ScalateSupport {
-
- get("/") {
- <html>
- <body>
- <h1>Hello, world!</h1>
- Say <a href="hello-scalate">hello to Scalate</a>.
- </body>
- </html>
- }
-
- notFound {
- // Try to render a ScalateTemplate if no route matched
- findTemplate(requestPath) map { path =>
- contentType = "text/html"
- layoutTemplate(path)
- } orElse serveStaticResource() getOrElse resourceNotFound()
- }
-}
Please sign in to comment.
Something went wrong with that request. Please try again.