Ember passing a model to transitionToRoute
问题 I'm using Ember-cli with ember 1.11 I'm trying to use the transitionToRoute method in a controller to transition to a route and feed it a dynamically generated object as the model. Here's my controller: import Ember from 'ember'; export default Ember.Controller.extend({ actions: { launch_scanner: function(){ console.log('launch_scanner'); var model = {name: "Edward", phone: "123", email: "email@test.com"}; //the final app will pull the model variable from a QR scanner this.transitionToRoute(