   setupController: ->
     @container.lookup('controller:repo').activate('index')
 
-Travis.AbstractBuildsRoute = Ember.Route.extend
+Travis.AbstractBuildsRoute = Ember.Route.extend Travis.DontSetupModelForControllerMixin,
   renderTemplate: ->
     @render 'builds', outlet: 'pane', into: 'repo'
 

    repo.set('job', model)
    repo.activate('job')

Travis.RepoIndexRoute = Ember.Route.extend
  setupController: (controller, model) ->
    @container.lookup('controller:repo').activate('current')

  renderTemplate: ->
    @render 'build', outlet: 'pane', into: 'repo'

Travis.RepoRoute = Ember.Route.extend
  renderTemplate: ->
    @render 'repo'



    this.controllerFor('repo').set('lineNumber', @fetchLineNumber())

Travis.IndexCurrentRoute = Ember.Route.extend Travis.DontSetupModelForControllerMixin,
  renderTemplate: ->
    @render 'repo'
    @render 'build', outlet: 'pane', into: 'repo'
