Guest User

Untitled

a guest
Aug 18th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. export default Route.extend({
  2. model() {
  3. get(this, 'backend').fetch('users').then(users => {
  4. get(this, 'store').dispatch({
  5. type: 'RECEIVE',
  6. users
  7. });
  8. });
  9. }
  10. });
Advertisement
Add Comment
Please, Sign In to add comment