Revert "Fix sidebar for logged in users"

This reverts commit 8c07e4ec7a.
This commit is contained in:
Piotr Sarnacki 2015-05-05 15:42:58 +02:00
parent 141015b583
commit 5229dc9fef
3 changed files with 5 additions and 5 deletions

View File

@ -17,6 +17,6 @@
</aside>
</div>
<footer {{bind-attr class="view.sidebarVisible:visible:hidden"}}>
<footer {{bind-attr class="auth.signedIn:hidden"}}>
{{render "footer"}}
</footer>

View File

@ -3,4 +3,8 @@
View = BasicView.extend
layoutName: 'layouts/landing-page'
sidebarVisible: (->
@get('auth.signedIn') && !@get('controller.ownersPage')
).property('auth.signedIn', 'controller.ownersPage')
`export default View`

View File

@ -4,8 +4,4 @@ View = Ember.View.extend
layoutName: 'layouts/home'
classNames: ['main']
sidebarVisible: (->
@get('controller.auth.signedIn') && !@get('controller.ownersPage')
).property('controller.auth.signedIn', 'controller.ownersPage')
`export default View`