Skip to content

Commit 5026cb2

Browse files
author
Timothy E. Johansson
committed
Fixed a bug with ui-router views in the verify email route.
1 parent 53142b5 commit 5026cb2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

angularjs.userapp.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,11 @@ var userappModule = angular.module('UserApp', []);
161161
// Check if this is the verify email route
162162
if (toState.data && toState.data.verify_email == true) {
163163
toState.controller = verifyEmailController;
164+
165+
if (toState.views && toState.views['']) {
166+
toState.views[''].controller = verifyEmailController;
167+
}
168+
164169
return;
165170
}
166171

0 commit comments

Comments
 (0)