diff 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
line wrap: on
line diff
--- a/pkg/controllers/routes.go	Thu Sep 27 12:49:45 2018 +0200
+++ b/pkg/controllers/routes.go	Thu Sep 27 13:18:50 2018 +0200
@@ -105,11 +105,6 @@
 
 	// Cross sections
 
-	api.Handle("/octcross", any(&JSONHandler{
-		Input:  func() interface{} { return new(models.CrossSectionInput) },
-		Handle: octreeCrossSection,
-	})).Methods(http.MethodPost)
-
 	api.Handle("/cross", any(&JSONHandler{
 		Input:  func() interface{} { return new(models.CrossSectionInput) },
 		Handle: crossSection,