Ghost/ghost/admin/app/controllers/pages-loading.js
Kevin Ansfield ef0178cd06 Refactored posts and pages controllers to Octane patterns
refs https://github.com/TryGhost/Ghost/issues/14101

- migrated to full native class syntax
- removed loading of snippets as they are not needed on post lists (they are needed on the editor screen which does it's own loading)
- removed `access` query param definition leftover from earlier development
- removed use of `{{action}}` in associated templates
2022-10-07 18:39:34 +01:00

10 lines
300 B
JavaScript

import PostsLoadingController from './posts-loading';
import {inject as controller} from '@ember/controller';
import {inject as service} from '@ember/service';
export default class PagesLoadingController extends PostsLoadingController {
@controller('pages') postsController;
@service ui;
}