Skip to content

Instantly share code, notes, and snippets.

View Asherlc's full-sized avatar

Asher Cohen (Editors) Asherlc

View GitHub Profile
@Asherlc
Asherlc / application.controller.js
Created November 6, 2015 18:49 — forked from runspired/application.controller.js
Association Computation
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle',
actions: {
addWord: function() {
var word = this.store.createRecord('word', {
});
this.get('model.pages.firstObject.words')