Skip to content

Instantly share code, notes, and snippets.

@Herriau
Herriau / mirage.config.js
Last active April 28, 2017 00:11
Mirage Dev Boilerplate
export default function() {
//window.server = this;
this.get('users');
this.patch('users/:id');
};
@Herriau
Herriau / controllers.application.js
Last active January 18, 2017 19:37
Mirage HasMany Issue
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});