[pro-merge] Sidebar can be rendered, no need to use outlet
This commit is contained in:
parent
8a37d9e92d
commit
86c2e8334e
|
@ -358,9 +358,6 @@ Travis.IndexRoute = Travis.Route.extend
|
|||
|
||||
@render 'repos', outlet: 'left', into: 'index'
|
||||
|
||||
if Travis.config.pro
|
||||
@render 'sidebar', outlet: 'right'
|
||||
|
||||
setupController: (controller)->
|
||||
# TODO: this is redundant with my_repositories and recent routes
|
||||
toActivate = if @signedIn() then 'owned' else 'recent'
|
||||
|
|
|
@ -13,6 +13,6 @@
|
|||
|
||||
{{#if Travis.config.pro}}
|
||||
<div id="right">
|
||||
{{outlet right}}
|
||||
{{render "layouts/sidebar"}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user