From 8dd07c0ddd99ae626a1ec8c06f75f27fed51269f Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 26 Jul 2014 00:24:27 -0400 Subject: New UI merge in progress --- routers/dev/debug.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'routers/dev/debug.go') diff --git a/routers/dev/debug.go b/routers/dev/debug.go index 62022146..6ef40a62 100644 --- a/routers/dev/debug.go +++ b/routers/dev/debug.go @@ -7,10 +7,10 @@ package dev import ( "net/http/pprof" - "github.com/go-martini/martini" + "github.com/Unknwon/macaron" ) -func RegisterDebugRoutes(r martini.Router) { +func RegisterDebugRoutes(r *macaron.Macaron) { r.Any("/debug/pprof/cmdline", pprof.Cmdline) r.Any("/debug/pprof/profile", pprof.Profile) r.Any("/debug/pprof/symbol", pprof.Symbol) -- cgit v1.2.3