Mercurial > gemma
comparison pkg/controllers/routes.go @ 801:b6a1779ffb42
Removed old cross section controller.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 27 Sep 2018 13:18:50 +0200 |
parents | e6f8d58434f4 |
children | 98a7776100fb |
comparison
equal
deleted
inserted
replaced
800:0689f4b7c99f | 801:b6a1779ffb42 |
---|---|
103 NoConn: true, | 103 NoConn: true, |
104 })).Methods(http.MethodGet) | 104 })).Methods(http.MethodGet) |
105 | 105 |
106 // Cross sections | 106 // Cross sections |
107 | 107 |
108 api.Handle("/octcross", any(&JSONHandler{ | |
109 Input: func() interface{} { return new(models.CrossSectionInput) }, | |
110 Handle: octreeCrossSection, | |
111 })).Methods(http.MethodPost) | |
112 | |
113 api.Handle("/cross", any(&JSONHandler{ | 108 api.Handle("/cross", any(&JSONHandler{ |
114 Input: func() interface{} { return new(models.CrossSectionInput) }, | 109 Input: func() interface{} { return new(models.CrossSectionInput) }, |
115 Handle: crossSection, | 110 Handle: crossSection, |
116 })).Methods(http.MethodPost) | 111 })).Methods(http.MethodPost) |
117 | 112 |