File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import Route from '@ember/routing/route';
25
25
export default Route .extend ({
26
26
actions: {
27
27
willTransition (transition ) {
28
- if (this .controller .get ( ' userHasEnteredData' ) &&
28
+ if (this .controller .userHasEnteredData &&
29
29
! confirm (' Are you sure you want to abandon progress?' )) {
30
30
transition .abort ();
31
31
} else {
@@ -78,7 +78,7 @@ import Route from '@ember/routing/route';
78
78
79
79
export default Route .extend ({
80
80
beforeModel (transition ) {
81
- if (! this .controllerFor (' auth' ).get ( ' userIsLoggedIn' ) ) {
81
+ if (! this .controllerFor (' auth' ).userIsLoggedIn ) {
82
82
let loginController = this .controllerFor (' login' );
83
83
loginController .set (' previousTransition' , transition);
84
84
this .transitionTo (' login' );
You can’t perform that action at this time.
0 commit comments