diff --git a/app/routes/main-tab.coffee b/app/routes/main-tab.coffee index 7c454bd5..d35a328a 100644 --- a/app/routes/main-tab.coffee +++ b/app/routes/main-tab.coffee @@ -17,9 +17,6 @@ Route = TravisRoute.extend deactivate: -> @controllerFor('repos').removeObserver('firstObject', this, 'currentRepoDidChange') - resetController: -> - @controllerFor('repos').removeObserver('firstObject', this, 'currentRepoDidChange') - currentRepoDidChange: -> if repo = @controllerFor('repos').get('firstObject') @controllerFor('repo').set('repo', repo) diff --git a/app/routes/main/recent.coffee b/app/routes/main/recent.coffee index 8f1739ce..4c00c403 100644 --- a/app/routes/main/recent.coffee +++ b/app/routes/main/recent.coffee @@ -5,9 +5,11 @@ Route = MainTabRoute.extend reposTabName: 'recent' activate: -> + @_super.apply(this, arguments) @store.set('isRecentTabOpen', true) deactivate: -> + @_super.apply(this, arguments) @store.set('isRecentTabOpen', false) `export default Route`