Skip to content

Commit 7da5931

Browse files
author
DSivachinskiy
committed
fix
1 parent 70a2395 commit 7da5931

4 files changed

Lines changed: 2 additions & 5 deletions

File tree

blueprints/ember-cli-admin-auth/files/app/components/signout-link.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default Ember.Component.extend({
55
store: Ember.inject.service(),
66
currentUser: Ember.computed(function() {
77
let id = this.get('session.data.authenticated.id');
8-
return this.get('store').find('user', id)
8+
return this.get('store').find('user', id);
99
}),
1010
isAvatarEmpty: Ember.computed.empty('currentUser.avatar'),
1111
actions:{

tests/dummy/app/adapters/application.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
import ENV from '../config/environment';
21
import ActiveModelAdapter from 'active-model-adapter';
32
import DataAdapterMixin from 'ember-simple-auth/mixins/data-adapter-mixin';
43

54
export default ActiveModelAdapter.extend(DataAdapterMixin, {
65
namespace: 'api',
76
authorizer: 'authorizer:devise',
8-
//host: ENV.adapterUrl,
97
shouldBackgroundReloadAll() {
108
return false;
119
}

tests/dummy/app/authenticators/devise.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import Devise from 'ember-simple-auth/authenticators/devise';
2-
import ENV from '../config/environment';
32

43
export default Devise.extend({
54
serverTokenEndpoint: `api/users/sign_in`

tests/dummy/app/components/signout-link.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default Ember.Component.extend({
55
store: Ember.inject.service(),
66
currentUser: Ember.computed(function() {
77
let id = this.get('session.data.authenticated.id');
8-
return this.get('store').find('user', id)
8+
return this.get('store').find('user', id);
99
}),
1010
isAvatarEmpty: Ember.computed.empty('currentUser.avatar'),
1111
actions:{

0 commit comments

Comments
 (0)