diff --git a/app/pods/components/x-application/component.js b/app/pods/components/x-application/component.js index 967b497..edb934e 100644 --- a/app/pods/components/x-application/component.js +++ b/app/pods/components/x-application/component.js @@ -1,10 +1,12 @@ import Ember from 'ember'; -export default Ember.Component.extend({ +const { Component, inject: { service } } = Ember; + +export default Component.extend({ classNames: ["flakes-frame"], - session: Ember.inject.service('session'), - currentUser: Ember.inject.service('session-account'), + session: service(), + currentUser: service('session-account'), didInsertElement: function() { FlakesFrame.init(); diff --git a/app/pods/components/x-application/template.hbs b/app/pods/components/x-application/template.hbs index 49cc38e..386353d 100644 --- a/app/pods/components/x-application/template.hbs +++ b/app/pods/components/x-application/template.hbs @@ -33,7 +33,7 @@
{{link-to 'Sign Up' 'users.new'}}
- {{link-to 'Locked Out?' 'users.requestlockouthelp'}} + {{link-to 'Reset Password' 'users.requestlockouthelp'}}

{{/if}}