2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-07 12:02:53 +08:00

Remove the ScrollTop Mixin

This commit is contained in:
Robin Ward 2016-11-10 14:35:53 -05:00
parent 0904ad5537
commit a94f06ff78
20 changed files with 77 additions and 95 deletions

View file

@ -65,9 +65,7 @@ export default function() {
this.get('/users/eviltrout.json', () => {
const json = fixturesByUrl['/users/eviltrout.json'];
if (loggedIn()) {
json.user.can_edit = true;
}
json.user.can_edit = loggedIn();
return response(json);
});