(ns auto-ap.routes.admin.vendors)

(def routes {""       {:get ::page
                       :put ::save
                       :post ::save}
             "/table" ::table
             "/terms/override" ::new-terms-override
             "/automatic-payment" ::new-automatic-payment
             "/account-override" ::new-account-override
             "/account-typeahead" ::account-typeahead
             "/validate" ::validate
             "/navigat" ::navigate
             "/new" {:get ::new}
             "/merge" {:get ::merge
                       :put ::merge-submit}
             ["/" [#"\d+" :db/id] "/edit"] {:get ::edit
                                            }})
