0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Removed unused code in posts route

This commit is contained in:
Kevin Ansfield 2019-05-07 12:55:19 +01:00
parent a7f4610381
commit 320908d64d

View file

@ -30,8 +30,6 @@ export default AuthenticatedRoute.extend({
perPage: 30, perPage: 30,
_type: null,
model(params) { model(params) {
return this.session.user.then((user) => { return this.session.user.then((user) => {
let queryParams = {}; let queryParams = {};
@ -94,12 +92,6 @@ export default AuthenticatedRoute.extend({
}, },
actions: { actions: {
willTransition() {
if (this.controller) {
this.resetController();
}
},
queryParamsDidChange() { queryParamsDidChange() {
// scroll back to the top // scroll back to the top
let contentList = document.querySelector('.content-list'); let contentList = document.querySelector('.content-list');