More work on the new people search
This commit is contained in:
parent
fac4e695fc
commit
e6eec0dfaf
6 changed files with 337 additions and 121 deletions
3
main.go
3
main.go
|
|
@ -167,6 +167,9 @@ func main() {
|
|||
app.Post("/contacts/:id<int;min(0)>/restore", controllers.ContactRestore)
|
||||
app.Post("/contacts/:id<int;min(0)>/purge", controllers.ContactPurge)
|
||||
|
||||
// Fields
|
||||
app.Get("/fields/:id<int;min(0)>", controllers.FieldJSON)
|
||||
|
||||
// Account manage
|
||||
app.Get("/account/manage", controllers.AccountManage)
|
||||
app.Post("/account/manage", controllers.AccountManage)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue