Simplify rendering getting_started
This commit is contained in:
parent
ef460e1dc2
commit
33cf63ed83
|
@ -2,8 +2,6 @@ require 'routes/route'
|
|||
|
||||
TravisRoute = Travis.Route
|
||||
|
||||
Route = TravisRoute.extend
|
||||
renderTemplate: ->
|
||||
@render('no_owned_repos')
|
||||
Route = TravisRoute.extend()
|
||||
|
||||
Travis.GettingStartedRoute = Route
|
||||
|
|
|
@ -14,14 +14,6 @@ Travis.MainView = Travis.View.extend
|
|||
layoutName: 'layouts/home'
|
||||
classNames: ['main']
|
||||
|
||||
Travis.GettingStartedView = Travis.View.extend
|
||||
templateName: (->
|
||||
if Travis.config.pro
|
||||
'pro/no_owned_repos'
|
||||
else
|
||||
'no_owned_repos'
|
||||
).property()
|
||||
|
||||
Travis.AuthSigninView = Travis.View.extend
|
||||
layoutName: 'layouts/simple'
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user