9 lines
261 B
JavaScript
9 lines
261 B
JavaScript
import Controller from '@ember/controller';
|
|
import { action } from '@ember/object';
|
|
|
|
export default class AdminIndexesItemDocumentsDocumentEditController extends Controller {
|
|
@action
|
|
save(value) {
|
|
this.model.index.saveDocument(JSON.parse(value));
|
|
}
|
|
}
|