A few big changes

- Adding timezone to source config
- genera: update record (missed a few pieces)
- genera: delete record
This commit is contained in:
Matthew Dillon 2014-10-13 15:26:35 -08:00
parent 33194ffd2f
commit 279651930e
12 changed files with 203 additions and 4 deletions

View file

@ -15,5 +15,6 @@ func API() *mux.Router {
m.Path("/genera").Methods("POST").Name(CreateGenus)
m.Path("/genera/{Id:.+}").Methods("GET").Name(Genus)
m.Path("/genera/{Id:.+}").Methods("PUT").Name(UpdateGenus)
m.Path("/genera/{Id:.+}").Methods("DELETE").Name(DeleteGenus)
return m
}

View file

@ -9,4 +9,5 @@ const (
CreateGenus = "genus:create"
Genera = "genera"
UpdateGenus = "genus:update"
DeleteGenus = "genus:delete"
)