From 5cc0c5be011deb8093959359381acb70917971e6 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 10 May 2017 06:20:17 +0000 Subject: [PATCH] shenanigans --- router/router.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/router/router.go b/router/router.go index 0774e0d5..96656b29 100644 --- a/router/router.go +++ b/router/router.go @@ -85,12 +85,11 @@ func init() { Router.Handle("/mod/torrents", gzipTorrentsListPanel).Name("mod_tlist") Router.Handle("/mod/users", gzipUsersListPanel).Name("mod_ulist") Router.Handle("/mod/comments", gzipCommentsListPanel).Name("mod_clist") - Router.Handle("/mod/comments", gzipCommentsListPanel).Name("mod_cedit") - Router.Handle("/mod/comments", gzipCommentsListPanel).Name("mod_cdelete") + Router.Handle("/mod/comments", gzipCommentsListPanel).Name("mod_cedit") // TODO Router.Handle("/mod/torrent/", gzipTorrentEditModPanel).Name("mod_tedit") Router.Handle("/mod/torrent/", gzipTorrentPostEditModPanel).Name("mod_ptedit") - Router.Handle("/mod/torrent/delete", gzipCommentDeleteModPanel).Name("mod_tdelete") - Router.Handle("/mod/comment/delete", gzipTorrentDeleteModPanel).Name("mod_cdelete") + Router.Handle("/mod/torrent/delete", gzipTorrentDeleteModPanel).Name("mod_tdelete") + Router.Handle("/mod/comment/delete", gzipCommentDeleteModPanel).Name("mod_cdelete") Router.PathPrefix("/captcha").Methods("GET").HandlerFunc(captcha.ServeFiles)