Skip to content

Instantly share code, notes, and snippets.

import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
versions: Ember.computed('model.versions.[]', function () {
return this.get('model.versions').slice(1);
}),
actions: {
updateVersions () {
let modelVersions = this.get('model.versions');