diff --git a/assets/scripts/app/routes.coffee b/assets/scripts/app/routes.coffee index fa2f48f2..c83ab422 100644 --- a/assets/scripts/app/routes.coffee +++ b/assets/scripts/app/routes.coffee @@ -52,8 +52,8 @@ Travis.ApplicationRoute = Travis.Route.extend Travis.Router.map -> @resource 'index', path: '/', -> @resource 'getting_started' - @route 'recent', path: '/recent' - @route 'my_repositories', path: '/my_repositories' + @route 'recent' + @route 'my_repositories' @resource 'repo', path: '/:owner/:name', -> @route 'index', path: '/' @resource 'build', path: '/builds/:build_id' @@ -166,7 +166,6 @@ Travis.IndexTabRoute = Travis.Route.extend @currentRepoDidChange() @controllerFor('repos').addObserver('firstObject', this, 'currentRepoDidChange') - deactivate: -> @controllerFor('repos').removeObserver('firstObject', this, 'currentRepoDidChange')