We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11ef5a3 commit e420590Copy full SHA for e420590
addon/decorators/required-brand.ts
@@ -23,6 +23,8 @@ export function requiredBrand(brand: string, fallbackRoute: string) {
23
);
24
if ((getOwnConfig() as any).brand !== brand) {
25
this.router.transitionTo(fallbackRoute);
26
+ } else {
27
+ super.beforeModel()
28
}
29
30
0 commit comments