(ns auto-ap.routes
  (:require [bidi.bidi :as bidi]))

(def routes ["/" {"" :index
                  "login/" :login
                  "needs-activation/" :needs-activation
                  "needs-activation" :needs-activation
                  "checks/" :checks
                  "admin/" {"" :admin
                            "clients" :admin-clients
                            "users" :admin-users
                            "reminders" :admin-reminders
                            "vendors" :admin-vendors
                            "excel-import" :admin-excel-import
                            "yodlee" :admin-yodlee}
                  "invoices/" {""  :invoices
                               "import" :import-invoices
                               "unpaid" :unpaid-invoices
                               "paid" :paid-invoices
                               "voided" :voided-invoices
                               "new" :new-invoice}
                  "transactions/" {"" :transactions}}])
