Merge pull request #3649 from tgxworld/click_reply_should_clear_edit

Click reply should clear edit
This commit is contained in:
Sam
2015-08-21 10:36:21 +10:00
6 changed files with 75 additions and 7 deletions

View File

@ -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({}));