auth.js 201 B

1234567891011
  1. import Ember from 'ember';
  2. export default Ember.Service.extend({
  3. isAnonymous: function() {
  4. return !this.get('isAuthenticated');
  5. }.property('isAuthenticated'),
  6. logout: function() {
  7. }
  8. });