package dashboard

import (
	"hyapp-admin-server/internal/middleware"

	"github.com/gin-gonic/gin"
)

func RegisterRoutes(protected *gin.RouterGroup, h *Handler) {
	protected.GET("/dashboard/overview", middleware.RequirePermission("overview:view"), h.DashboardOverview)
}
