Instead of rendering getting started page, just redirect to it
It would be nice to allow to just render getting started page, but because of the way we manage layouts, it's hard to get it running without weird bugs popping up now and then. This should be easier to achieve once the templates are cleaned up to use better laout management.
This commit is contained in:
parent
a1c42482b6
commit
cc90200d66
|
@ -60,7 +60,7 @@ Travis.ApplicationRoute = Travis.Route.extend
|
|||
return true
|
||||
|
||||
renderNoOwnedRepos: ->
|
||||
@render('no_owned_repos', outlet: 'main', into: 'application')
|
||||
@transitionTo('getting_started')
|
||||
|
||||
renderFirstSync: ->
|
||||
@renderFirstSync()
|
||||
|
@ -122,12 +122,11 @@ Travis.GettingStartedRoute = Travis.Route.extend
|
|||
setupController: ->
|
||||
$('body').attr('id', 'home')
|
||||
@container.lookup('controller:repos').activate()
|
||||
@container.lookup('controller:application').connectLayout 'home'
|
||||
@container.lookup('controller:application').connectLayout 'simple'
|
||||
@_super.apply(this, arguments)
|
||||
|
||||
renderTemplate: ->
|
||||
@render 'top', outlet: 'top'
|
||||
@render 'repos', outlet: 'left'
|
||||
@_super.apply(this, arguments)
|
||||
|
||||
Travis.FirstSyncRoute = Travis.Route.extend
|
||||
|
|
Loading…
Reference in New Issue
Block a user