simplex/applications/docs.moon
2018-04-24 22:02:41 -07:00

15 lines
285 B
Plaintext

import Application from require "lapis"
class Docs extends Application
@path: "/docs"
@name: "docs_"
[index: ""]: =>
@html ->
h3 "Hi there."
a href: @url_for("docs_v1"), "click here"
[v1: "/v1"]: =>
@title = "Simplex API v1"
return render: "docs.v1"