Skip to content

Instantly share code, notes, and snippets.

View CUgNhgkf's full-sized avatar

CUgNhgkf

View GitHub Profile
@CUgNhgkf
CUgNhgkf / controllers.application.js
Created February 3, 2017 21:34 — forked from samselikoff/controllers.application.js
Mirage 0.3 - One to Many
import Ember from 'ember';
export default Ember.Controller.extend({
db: Ember.computed('refreshDb', function() {
let dump = window.server.schema.db.dump();
return JSON.stringify(dump, null, 2);
}),