import Ember from 'ember';

const { computed, inject } = Ember;

export default Ember.Controller.extend({
  currentAccount: inject.service(),
  loggedIn: computed.alias('currentAccount.loggedIn')
});

import Ember from 'ember';

const { computed, inject } = Ember;

export default Ember.Controller.extend({
  currentAccount: inject.service(),
  loggedIn: computed.readOnly('currentAccount.loggedIn')
});

Use computed readonly so that it's clear we're not writing to it
Use computed readonly so that it's clear we're not writing to it
