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:
parent
4f59aa8e25
commit
cefd51c81c
1 changed files with 3 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue