hy/eg/flask/app.hy
Paul Tagliamonte 96a104e060 heheheh
2013-01-02 22:05:14 -05:00

12 lines
219 B
Hy

; Copyright (c) Paul R. Tagliamonte <tag@pault.ag>, 2013
(import-from flask Flask render-template)
(def app (Flask "__main__"))
(decorate-with (.route app "/")
(defn index []
(render-template "index.html")))