Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. `import Ember from 'ember'`
  2.  
  3. CallService = Ember.Object.extend
  4.  
  5. ... other code here
  6.  
  7. _updateConnectedLeadId: (->
  8. console.log "Do i get here??"
  9.  
  10. **pass the route action here**
  11.  
  12. ).observes('some_other_here')
  13. `export default CallService`
  14.  
  15. ApplicationRoute = Ember.Route.extend
  16. actions:
  17. showLead: ->
  18. console.log data
  19. console.log "did i get here?"
  20. @transitionTo('dashboard')
  21.  
  22. `export default ApplicationRoute`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement