Threaded comments (Reply UI)
This commit is contained in:
@ -3,6 +3,9 @@ package apiroutes
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/animenotifier/notify.moe/pages/post"
|
||||
"github.com/animenotifier/notify.moe/pages/thread"
|
||||
|
||||
"github.com/aerogo/aero"
|
||||
|
||||
"github.com/aerogo/layout"
|
||||
@ -39,6 +42,12 @@ func Register(l *layout.Layout, app *aero.Application) {
|
||||
app.Get("/api/next/soundtrack", soundtrack.Next)
|
||||
app.Get("/api/character/:id/ranking", character.Ranking)
|
||||
|
||||
// Thread
|
||||
app.Get("/api/thread/:id/reply/ui", thread.ReplyUI)
|
||||
|
||||
// Post
|
||||
app.Get("/api/post/:id/reply/ui", post.ReplyUI)
|
||||
|
||||
// SoundTrack
|
||||
app.Post("/api/soundtrack/:id/download", soundtrack.Download)
|
||||
|
||||
|
Reference in New Issue
Block a user