Refresh accounts list after sync (closes #55)

This commit is contained in:
Piotr Sarnacki 2012-11-21 21:20:03 +01:00
parent 7816ab558b
commit f32038698d

View File

@ -64,8 +64,8 @@ require 'travis/model'
@setWithSession('syncedAt', data.user.synced_at)
Travis.trigger('user:synced', data.user)
# # TODO this doesn't work properly
# Travis.app.store.loadMany(Travis.Account, data.accounts)
# need to pass any param to trigger findQuery
Travis.Account.find(foo: '')
setWithSession: (name, value) ->
@set(name, value)