Make sure that we set record and not a promise on controller

This commit is contained in:
Piotr Sarnacki 2015-01-28 14:22:36 +01:00
parent 59d2592577
commit cb3bb3830c

View File

@ -19,6 +19,7 @@ Route = TravisRoute.extend
repo.activate('job')
if build = model.get('build')
build = @store.recordForId('build', build.get('id'))
@controllerFor('build').set('build', build)
model: (params) ->