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

(def routes ["/" {"" :index
                  "login/" :login
                  "needs-activation/" :needs-activation
                  "check/" :check
                  "admin/" {"" :admin
                            "companies" :admin-companies
                            "users" :admin-users
                            "reminders" :admin-reminders
                            "vendors" :admin-vendors
                            "excel-import" :admin-excel-import}
                  "invoices/" {""  :invoices
                               "import" :import-invoices
                               "unpaid" :unpaid-invoices
                               "paid" :paid-invoices
                               "new" :new-invoice}}])
