commit
cac2a8c5dd
@ -53,7 +53,7 @@ function($routeProvider, $httpProvider) {
|
|||||||
// Custom handlers for route authentication and rejection of invalid board id
|
// Custom handlers for route authentication and rejection of invalid board id
|
||||||
taskBoard.run(['$rootScope', '$location', '$window', 'AuthenticationService',
|
taskBoard.run(['$rootScope', '$location', '$window', 'AuthenticationService',
|
||||||
function($rootScope, $location, $window, AuthenticationService) {
|
function($rootScope, $location, $window, AuthenticationService) {
|
||||||
$rootScope.version = 'v0.2.5';
|
$rootScope.version = 'v0.2.6';
|
||||||
|
|
||||||
$rootScope.$on('$routeChangeStart', function(event, nextRoute, currentRoute) {
|
$rootScope.$on('$routeChangeStart', function(event, nextRoute, currentRoute) {
|
||||||
// Redirect to default path if authentication is required but not present.
|
// Redirect to default path if authentication is required but not present.
|
||||||
|
Reference in New Issue
Block a user