site/app.moon

14 lines
231 B
Plaintext

lapis = require "lapis"
class extends lapis.Application
layout: require "layout.bootstrap"
[index: "/"]: =>
render: true
[contact: "/contact"]: =>
render: true
handle_404: =>
status: 404, render: "notfound"