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:
parent
a7f4610381
commit
320908d64d
1 changed files with 0 additions and 8 deletions
|
@ -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');
|
||||||
|
|
Loading…
Add table
Reference in a new issue