0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-15 03:01:37 -05:00

Refactored billing controller to Octane patterns

refs https://github.com/TryGhost/Ghost/issues/14101

- migrated to full native class syntax
This commit is contained in:
Kevin Ansfield 2022-10-07 17:59:49 +01:00
parent 4f59aa8e25
commit cefd51c81c

View file

@ -1,12 +1,10 @@
import Controller from '@ember/controller';
import classic from 'ember-classic-decorator';
import {alias} from '@ember/object/computed';
@classic
export default class BillingController extends Controller {
queryParams = ['action'];
action = null;
@alias('model')
guid;
get guid() {
return this.model;
}
}