Files
kontor/go/pkg/office/routes.go
2025-01-09 19:28:50 +01:00

14 lines
302 B
Go

package office
import (
"gitlab.thpeetz.de/kontor/kontor-go/pkg/auth"
"github.com/gin-gonic/gin"
)
// GetRoutes returns all routes for office related data.
func GetRoutes(router *gin.Engine) {
officeRoutes := router.Group("/office")
officeRoutes.GET("/", auth.EnsureLoggedIn(), showIndexPage)
}