Skip to content

Instantly share code, notes, and snippets.

@lessless
Created March 21, 2014 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lessless/9686277 to your computer and use it in GitHub Desktop.
Save lessless/9686277 to your computer and use it in GitHub Desktop.
App.UrlNewRoute = Ember.Route.extend({
setupController: function(controller, model) {
console.dir(1);
return this.store.find('UrlType').then(function(url_types) {
return console.dir(url_types);
});
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment