Makes an okay experience of editing vendors through a wizard
This commit is contained in:
10
src/cljc/auto_ap/routes/admin/vendors.cljc
Normal file
10
src/cljc/auto_ap/routes/admin/vendors.cljc
Normal file
@@ -0,0 +1,10 @@
|
||||
(ns auto-ap.routes.admin.vendors)
|
||||
|
||||
(def routes {"" {:get ::page
|
||||
:put ::save
|
||||
:post ::save}
|
||||
"/table" ::table
|
||||
"/terms" ::edit-terms
|
||||
"/new" {:get ::new}
|
||||
["/" [#"\d+" :db/id] "/edit"] {:get ::edit
|
||||
}})
|
||||
Reference in New Issue
Block a user