Skip to content

Commit

Permalink
fix(app): 404 route no longer throws error
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie committed Dec 1, 2016
1 parent f040e96 commit 0b21747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ angular.module("baw",

let title = $route.current && ( " | " + $route.current.title) || "";
document.title = appEnvironment.brand.title + title;
$rootScope.fullWidth = $route.current.$$route.fullWidth;
$rootScope.fullWidth = $route.current.$$route && $route.current.$$route.fullWidth;
});

// reload a view and controller (shortcut for full page refresh)
Expand Down

0 comments on commit 0b21747

Please sign in to comment.