Added advanced thread and post editing for admins
This commit is contained in:
@ -5,7 +5,9 @@ import (
|
||||
"github.com/animenotifier/notify.moe/pages/forum"
|
||||
"github.com/animenotifier/notify.moe/pages/newthread"
|
||||
"github.com/animenotifier/notify.moe/pages/post"
|
||||
"github.com/animenotifier/notify.moe/pages/post/editpost"
|
||||
"github.com/animenotifier/notify.moe/pages/thread"
|
||||
"github.com/animenotifier/notify.moe/pages/thread/editthread"
|
||||
)
|
||||
|
||||
// Register registers the page routes.
|
||||
@ -16,8 +18,10 @@ func Register(l *layout.Layout) {
|
||||
|
||||
// Thread
|
||||
l.Page("/thread/:id", thread.Get)
|
||||
l.Page("/thread/:id/edit", editthread.Get)
|
||||
l.Page("/new/thread", newthread.Get)
|
||||
|
||||
// Post
|
||||
l.Page("/post/:id", post.Get)
|
||||
l.Page("/post/:id/edit", editpost.Get)
|
||||
}
|
||||
|
Reference in New Issue
Block a user