summaryrefslogtreecommitdiff
path: root/guix-web/controller.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix-web/controller.scm')
-rw-r--r--guix-web/controller.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/guix-web/controller.scm b/guix-web/controller.scm
index 61df575..490c80f 100644
--- a/guix-web/controller.scm
+++ b/guix-web/controller.scm
@@ -47,6 +47,8 @@
(if (package-install package)
(created)
(unprocessable-entity))))
+ ((GET "generations")
+ (render-json (generations-json)))
((GET "librejs")
(render-html (librejs)))
((GET path ...)