FIX: Consolidated like notifications links to wrong user on user page.

This commit is contained in:
Guo Xiang Tan
2019-01-16 15:55:18 +08:00
parent 27e2b6575b
commit f8db93df5f
4 changed files with 27 additions and 4 deletions

View File

@ -79,6 +79,12 @@ export default function() {
return response(json);
});
this.get("/u/test.json", () => {
const json = fixturesByUrl["/u/eviltrout.json"];
json.user.username = "test";
return response(json);
});
this.get("/u/eviltrout/summary.json", () => {
return response({
user_summary: {