Merge branch 'master' of github.com:travis-ci/travis-web
This commit is contained in:
commit
5ca5b15f40
|
@ -204,7 +204,7 @@ Travis.Router = Ember.Router.extend
|
|||
dynamicSegmentPattern: "([^/#]+)"
|
||||
|
||||
connectOutlets: (router, repo) ->
|
||||
unless repo.constructor == Travis.Repo
|
||||
if repo && repo.constructor != Travis.Repo
|
||||
repo = Travis.Repo.find(repo.id)
|
||||
router.get('repoController').set 'repo', repo
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user