site/app.moon

22 lines
459 B
Plaintext
Raw Normal View History

2015-02-01 01:15:41 +00:00
lapis = require "lapis"
class extends lapis.Application
layout: require "layout.bootstrap"
2015-02-03 20:34:20 +00:00
@include "controllers.email"
2015-02-01 08:17:40 +00:00
@include "controllers.projects"
2015-02-02 00:33:18 +00:00
@include "controllers.go"
2015-02-13 19:05:03 +00:00
@include "controllers.resume"
@include "controllers.index"
2015-02-13 20:42:42 +00:00
@include "controllers.blog"
2015-02-01 01:15:41 +00:00
2015-02-01 04:28:06 +00:00
[contact: "/contact"]: =>
2015-02-01 19:08:27 +00:00
@title = "Contact"
2015-02-01 04:28:06 +00:00
render: true
2015-02-01 05:50:21 +00:00
[error: "/error"]: =>
render: true, status: 500
2015-02-01 01:15:41 +00:00
handle_404: =>
status: 404, render: "notfound"