mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
19 lines
437 B
JavaScript
19 lines
437 B
JavaScript
|
import Controller from '@ember/controller';
|
||
|
import {action} from '@ember/object';
|
||
|
import {inject as service} from '@ember/service';
|
||
|
import {tracked} from '@glimmer/tracking';
|
||
|
|
||
|
export default class InstallThemeController extends Controller {
|
||
|
@service router;
|
||
|
|
||
|
queryParams = ['source', 'ref'];
|
||
|
|
||
|
@tracked source = '';
|
||
|
@tracked ref = '';
|
||
|
|
||
|
@action
|
||
|
close() {
|
||
|
this.router.transitionTo('settings.theme');
|
||
|
}
|
||
|
}
|