Use index/loading template instead of IndexLoadingRoute

By default Ember.js will use either IndexLoadingRoute or index/loading
template. Before this commit we were specyfing IndexLoadingRoute, which
was renderring index_loading template. This is not needed as long as we
use index/loading template - the effect is the same, but we use a
default.
This commit is contained in:
Piotr Sarnacki 2014-02-12 07:48:44 +01:00
parent 03e8745dc3
commit a8784a58fa
2 changed files with 0 additions and 4 deletions

View File

@ -268,10 +268,6 @@ Travis.IndexRoute = Ember.Route.extend
@container.lookup('controller:repos').activate()
@container.lookup('controller:application').connectLayout 'home'
Travis.IndexLoadingRoute = Ember.Route.extend
renderTemplate: ->
@render('index_loading')
Travis.StatsRoute = Ember.Route.extend
renderTemplate: ->
$('body').attr('id', 'stats')