mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
FEATURE: new 'categories_and_latest' endpoint
This commit is contained in:
@ -133,6 +133,8 @@ export default function() {
|
||||
return response({ valid: [{ slug: "bug", url: '/c/bugs' }] });
|
||||
});
|
||||
|
||||
this.get("/categories_and_latest", () => response(fixturesByUrl["/categories_and_latest.json"]));
|
||||
|
||||
this.put('/categories/:category_id', request => {
|
||||
|
||||
const category = parsePostData(request.requestBody);
|
||||
|
Reference in New Issue
Block a user