Created
October 11, 2017 17:37
-
-
Save poteto/73218af3d76a8447fd413af6f6bd039f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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