import other kontor repos into directories

This commit is contained in:
Thomas Peetz
2025-01-09 19:28:50 +01:00
parent 8120c92b32
commit 9b329c0ac4
319 changed files with 17211 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
package tradingcards
import (
"gitlab.thpeetz.de/kontor/kontor-go/pkg/auth"
"github.com/gin-gonic/gin"
)
// GetRoutes returns all routes for tradingcards related data.
func GetRoutes(router *gin.Engine) {
tradingCardsRoutes := router.Group("/tradingcards")
tradingCardsRoutes.GET("/", auth.EnsureLoggedIn(), showIndexPage)
}