site/app.moon

14 lines
231 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"
[index: "/"]: =>
render: true
2015-02-01 04:28:06 +00:00
[contact: "/contact"]: =>
render: true
2015-02-01 01:15:41 +00:00
handle_404: =>
status: 404, render: "notfound"