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:
parent
03e8745dc3
commit
a8784a58fa
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue
Block a user