mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
Merge pull request #3649 from tgxworld/click_reply_should_clear_edit
Click reply should clear edit
This commit is contained in:
@ -111,6 +111,10 @@ export default function() {
|
||||
return response(fixturesByUrl['/t/28830/1.json']);
|
||||
});
|
||||
|
||||
this.get("/t/9.json", function() {
|
||||
return response(fixturesByUrl['/t/9/1.json']);
|
||||
});
|
||||
|
||||
this.get("/t/id_for/:slug", function() {
|
||||
return response({id: 280, slug: "internationalization-localization", url: "/t/internationalization-localization/280"});
|
||||
});
|
||||
@ -120,6 +124,7 @@ export default function() {
|
||||
});
|
||||
|
||||
this.delete('/draft.json', success);
|
||||
this.post('/draft.json', success);
|
||||
|
||||
this.get('/users/:username/staff-info.json', () => response({}));
|
||||
|
||||
|
Reference in New Issue
Block a user