ccdb-web/app/controllers/collections/detail/index.js

9 lines
208 B
JavaScript

import Controller from '@ember/controller';
export default Controller.extend({
actions: {
editCollection() {
this.transitionToRoute('collections.detail.edit', this.get('model'));
},
},
});