Skip to content

Instantly share code, notes, and snippets.

View danconnell's full-sized avatar

DC danconnell

  • Hypotenuse Labs
  • Canada
View GitHub Profile
import Ember from 'ember';
import Pretender from 'pretender';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
init: function() {
this._super();
var server = new Pretender();
server.get('test', function(request) {
return [500];
import DS from "ember-data";
export default DS.RESTAdapter.extend();