       # bubble to the top
       return true
 
-Travis.IndexRoute = Ember.Route.extend
+Travis.IndexRoute = Travis.Route.extend
   renderTemplate: ->
     $('body').attr('id', 'home')
 

    @render 'top', outlet: 'top'
    @_super.apply(this, arguments)

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

  model: (params) ->
    Travis.Build.fetch(params.build_id)

Travis.JobRoute = Travis.Route.extend
  renderTemplate: ->
    @render 'job', outlet: 'pane', into: 'repo'

