The landing URL is now '#/' which actually points to homeController

This commit is contained in:
Emmanuel ROHEE 2014-08-25 11:35:33 +02:00
parent 66d752dd1b
commit 95839212a7
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ matrixWebClient.config(['$routeProvider', '$provide', '$httpProvider',
templateUrl: 'room/room.html',
controller: 'RoomController'
}).
when('/home', {
when('/', {
templateUrl: 'home/home.html',
controller: 'HomeController'
}).
@ -58,7 +58,7 @@ matrixWebClient.config(['$routeProvider', '$provide', '$httpProvider',
controller: 'UserController'
}).
otherwise({
redirectTo: '/home'
redirectTo: '/'
});
$provide.factory('AccessTokenInterceptor', ['$q', '$rootScope',