site/controllers/go.moon

14 lines
252 B
Plaintext
Raw Normal View History

2015-02-02 00:33:18 +00:00
lapis = require "lapis"
class Go extends lapis.Application
[repo: "/go/:name"]: =>
2015-02-02 00:41:19 +00:00
@kind = "github"
2015-02-02 00:33:18 +00:00
@repo = @params.name
2015-02-02 00:50:14 +00:00
render: true, layout: false
2015-02-03 19:15:34 +00:00
[repo: "/go/:name/*"]: =>
@repo = @params.name
render: true, layout: false