Editors can now lock threads

This commit is contained in:
2018-04-25 18:59:23 +02:00
parent 7d70f3b0b5
commit 3ebd4b0856
11 changed files with 75 additions and 36 deletions

View File

@ -70,7 +70,7 @@ import (
"github.com/animenotifier/notify.moe/pages/statistics"
"github.com/animenotifier/notify.moe/pages/support"
"github.com/animenotifier/notify.moe/pages/terms"
"github.com/animenotifier/notify.moe/pages/threads"
"github.com/animenotifier/notify.moe/pages/thread"
"github.com/animenotifier/notify.moe/pages/upload"
"github.com/animenotifier/notify.moe/pages/user"
"github.com/animenotifier/notify.moe/pages/users"
@ -101,7 +101,7 @@ func Configure(app *aero.Application) {
// Forum
l.Page("/forum", forum.Get)
l.Page("/forum/:tag", forum.Get)
l.Page("/thread/:id", threads.Get)
l.Page("/thread/:id", thread.Get)
l.Page("/post/:id", posts.Get)
l.Page("/new/thread", newthread.Get)