mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-14 18:52:05 +03:00
16 lines
380 B
JavaScript
16 lines
380 B
JavaScript
import {inject as service} from '@ember/service';
|
|
import PostsRoute from './posts';
|
|
|
|
export default class PagesRoute extends PostsRoute {
|
|
@service feature;
|
|
|
|
modelName = 'page';
|
|
|
|
buildRouteInfoMetadata() {
|
|
return {
|
|
titleToken: 'Pages',
|
|
mainClasses: this.feature.get('memberAttribution') ? ['gh-main-fullwidth'] : null
|
|
};
|
|
}
|
|
}
|