Mercurial > gemma
comparison pkg/controllers/routes.go @ 2203:8d1a945d0c3b
Uploaded fairway availabilty import: Implemented in terms of normal fairway availabilty import.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 12 Feb 2019 23:24:09 +0100 |
parents | 4b9496752d89 |
children | 35db2e11c966 |
comparison
equal
deleted
inserted
replaced
2202:0aee7d4954ae | 2203:8d1a945d0c3b |
---|---|
206 http.HandlerFunc(importWaterwayProfiles))).Methods(http.MethodPost) | 206 http.HandlerFunc(importWaterwayProfiles))).Methods(http.MethodPost) |
207 | 207 |
208 api.Handle("/imports/ubn", waterwayAdmin( | 208 api.Handle("/imports/ubn", waterwayAdmin( |
209 http.HandlerFunc(importUploadedBottleneck))).Methods(http.MethodPost) | 209 http.HandlerFunc(importUploadedBottleneck))).Methods(http.MethodPost) |
210 | 210 |
211 api.Handle("/imports/ufa", waterwayAdmin( | |
212 http.HandlerFunc(importUploadedFairwayAvailability))).Methods(http.MethodPost) | |
213 | |
211 api.Handle("/imports/{kind:st}", sysAdmin(&JSONHandler{ | 214 api.Handle("/imports/{kind:st}", sysAdmin(&JSONHandler{ |
212 Input: importModel, | 215 Input: importModel, |
213 Handle: manualImport, | 216 Handle: manualImport, |
214 NoConn: true, | 217 NoConn: true, |
215 })).Methods(http.MethodPost) | 218 })).Methods(http.MethodPost) |