dealroom/internal/handler/audit.go

14 lines
304 B
Go

package handler
import (
"net/http"
"dealroom/templates"
)
func (h *Handler) handleAuditLog(w http.ResponseWriter, r *http.Request) {
profile := getProfile(r.Context())
activities := h.getActivities(profile.OrganizationID, 50)
templates.AuditLogPage(profile, activities).Render(r.Context(), w)
}