package router import ( dashboardController "dove/controllers/dashboard" "dove/pages/dashboard" "dove/utils/auth" "dove/utils/urls" ) func init() { urls.SetNamespace("dashboard") urls.Path(urls.Get, "/", auth.RequireAuthentication(dashboard.Overview), "index") urls.Path(urls.Post, "/dns/configure", auth.RequireAuthentication(dashboardController.ConfigureSystemDns), "dns-configure") urls.Path(urls.Post, "/dns/disable", auth.RequireAuthentication(dashboardController.DisableSystemDns), "dns-disable") }