simplex/applications/docs.moon

15 lines
285 B
Plaintext
Raw Normal View History

2018-04-25 03:55:12 +00:00
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"]: =>
2018-04-25 05:02:41 +00:00
@title = "Simplex API v1"
return render: "docs.v1"