Posts and threads as sub-pages of forum on user profiles

This commit is contained in:
2017-11-17 11:00:49 +01:00
parent 3dc9a2e7bf
commit 900148b788
5 changed files with 18 additions and 8 deletions

View File

@ -6,12 +6,12 @@ var routeTests = map[string][]string{
"/+Akyoto",
},
"/user/:nick/threads": []string{
"/+Akyoto/threads",
"/user/:nick/forum/threads": []string{
"/+Akyoto/forum/threads",
},
"/user/:nick/posts": []string{
"/+Akyoto/posts",
"/user/:nick/forum/posts": []string{
"/+Akyoto/forum/posts",
},
"/user/:nick/soundtracks": []string{
@ -107,6 +107,10 @@ var routeTests = map[string][]string{
"/compare/animelist/Akyoto/Scott",
},
"/explore/anime/:year/:status/:type": []string{
"/explore/anime/2011/finished/tv",
},
// API
"/api/anime/:id": []string{
"/api/anime/1",