Posts and threads as sub-pages of forum on user profiles
This commit is contained in:
12
tests.go
12
tests.go
@ -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",
|
||||
|
Reference in New Issue
Block a user