Skip to content

Instantly share code, notes, and snippets.

@poteto
Created October 11, 2017 17:37
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 poteto/73218af3d76a8447fd413af6f6bd039f to your computer and use it in GitHub Desktop.
Save poteto/73218af3d76a8447fd413af6f6bd039f to your computer and use it in GitHub Desktop.
import Ember from 'ember';
const { Route } = Ember;
export default Route.extend({
model({ fullName }) {
return this.store.queryRecord('user', { fullName });
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment