diff --git a/assets/scripts/app/routes.coffee b/assets/scripts/app/routes.coffee index 0f13a799..18a36f16 100644 --- a/assets/scripts/app/routes.coffee +++ b/assets/scripts/app/routes.coffee @@ -113,16 +113,6 @@ Travis.SetupLastBuild = Ember.Mixin.create Ember.run.next => @render('builds/not_found', into: 'repo', outlet: 'pane') -Travis.RepoLoadingRoute = Travis.Route.extend - renderTemplate: -> - # TODO: the main outlet used on repo level is called 'pane' - # which makes a few things quite hard with current Ember.js - # conventions. Here, we need to specify render behaviour - # of a loading route explicitly, because otherwise it will - # render into 'main' outlet. It would be nice to change - # pane outlet into main outlet at some point - @render 'repo/loading', into: 'repo', outlet: 'pane' - Travis.RequestsRoute = Travis.Route.extend renderTemplate: -> @render 'requests', into: 'repo', outlet: 'pane' diff --git a/assets/scripts/app/templates/repo/loading.hbs b/assets/scripts/app/templates/repo/loading.hbs deleted file mode 100644 index 0277cf2e..00000000 --- a/assets/scripts/app/templates/repo/loading.hbs +++ /dev/null @@ -1 +0,0 @@ -
Loading