Skip to content

Instantly share code, notes, and snippets.

@stravid
Created November 21, 2013 14:22
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 stravid/7582330 to your computer and use it in GitHub Desktop.
Save stravid/7582330 to your computer and use it in GitHub Desktop.
Tedian.ApplicationRoute = Ember.Route.extend
setupController: ->
controller = @controllerFor("sidebar")
controller.set "tasks", @store.find("task")
controller.set "projects", @store.find("project")
controller.set "timeEntries", @store.find("timeEntry")
Tedian.TimeEntry.findActive().then (timeEntry) ->
controller.set "activeTimeEntry", timeEntry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment