[pro-merge] Sidebar can be rendered, no need to use outlet

This commit is contained in:
Piotr Sarnacki 2014-12-29 18:14:33 +01:00
parent 8a37d9e92d
commit 86c2e8334e
2 changed files with 1 additions and 4 deletions

View File

@ -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'

View File

@ -13,6 +13,6 @@
{{#if Travis.config.pro}}
<div id="right">
{{outlet right}}
{{render "layouts/sidebar"}}
</div>
{{/if}}