(ns auto-ap.routes.payments)
(def routes {""                            {:get ::all-page
                                            "/pending" ::pending-page
                                            "/voided" ::voided-page
                                            "/cleared" ::cleared-page}
             "/bulk-delete" {:get ::bulk-delete
                             :delete ::bulk-delete-confirm}
             ["/" [#"\d+" :db/id]] {:delete ::delete}
             "/table"                      ::table})
