mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-03 03:55:26 +03:00
f07940f0e7
no issue - find+replace to make service injection style consistent and take up much less space at the top of files that used multi-line syntax
14 lines
419 B
JavaScript
14 lines
419 B
JavaScript
import PostsLoadingController from './posts-loading';
|
|
import classic from 'ember-classic-decorator';
|
|
import {inject as controller} from '@ember/controller';
|
|
import {inject as service} from '@ember/service';
|
|
|
|
/* eslint-disable ghost/ember/alias-model-in-controller */
|
|
@classic
|
|
export default class PagesLoadingController extends PostsLoadingController {
|
|
@controller('pages')
|
|
postsController;
|
|
|
|
@service ui;
|
|
}
|