Skip to content

Instantly share code, notes, and snippets.

@sirvine
sirvine / controllers.application.js
Last active March 1, 2017 21:48 — forked from blimmer/controllers.application.js
Group-By Bug (Unable to set key with some symbols)
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
@sirvine
sirvine / controllers.application.js
Created June 19, 2016 09:18 — forked from jmimi/controllers.application.js
Pass hash promise to transition
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
actions:{
goTest(){
let hashPrms = {
a: Ember.RSVP.resolve({id: 1}),
b: Ember.RSVP.resolve({posts: [{id: 1, title: 'title0'}, {id: 2, title: 'title1'}]})
};