Skip to content

Commit 809a9eb

Browse files
committed
[DOC] Improve didTransition in routing
1 parent ff55840 commit 809a9eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@ember/routing/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ interface Route<T = unknown> extends IRoute<T> {
145145
export default class LoginRoute extends Route {
146146
@action
147147
didTransition() {
148-
this.controller.get('errors.base').clear();
148+
// your code there
149149
return true; // Bubble the didTransition event
150150
}
151151
}

0 commit comments

Comments
 (0)