2015-02-01 01:15:41 +00:00
|
|
|
lapis = require "lapis"
|
|
|
|
|
|
|
|
class extends lapis.Application
|
|
|
|
layout: require "layout.bootstrap"
|
|
|
|
|
2015-02-01 05:37:51 +00:00
|
|
|
@include "controllers.about"
|
|
|
|
|
2015-02-01 01:15:41 +00:00
|
|
|
[index: "/"]: =>
|
|
|
|
render: true
|
|
|
|
|
2015-02-01 04:28:06 +00:00
|
|
|
[contact: "/contact"]: =>
|
|
|
|
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"
|