controller: Remove /snippet handlers.
authorRicardo Wurmus <rekado@elephly.net>
Mon, 30 Mar 2020 17:29:06 +0000 (19:29 +0200)
committerRicardo Wurmus <rekado@elephly.net>
Mon, 30 Mar 2020 17:29:06 +0000 (19:29 +0200)
mumi/web/controller.scm
mumi/web/view/html.scm

index e8548232ea0fed7d5d527dafe67b09a236592a90..627466b317201200005eef07cb67a97749610e1f 100644 (file)
                       (map string->number path)))
     (('GET "issue" not-an-id)
      (apply render-html (unknown not-an-id)))
-    (('GET "snippet" "recent")
-     (apply render-html (list #:sxml (list-of-bugs (recent-bugs 10)))))
-    (('GET "snippet" "priority")
-     (apply render-html (list #:sxml (priority-bugs))))
     (('GET "help")
      (apply render-html (help)))
     (('GET path ...)
index a0567f753bb3ca0b8f9e900f91d8503c7800608a..ec39dd75bf82569fb8a444125584d01e5119267e 100644 (file)
@@ -30,9 +30,7 @@
             unknown
             error-page
             issue-page
-            list-of-matching-bugs
-            list-of-bugs
-            priority-bugs))
+            list-of-matching-bugs))
 
 (define (bug-subject* bug)
   (or (bug-subject bug) "(no subject)"))