diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-08-22 18:08:03 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-08-22 18:08:03 +0200 |
commit | de0706493affc7d8aa6d294fbd531fa0b75ef49c (patch) | |
tree | 2595e59a64cebdcf30ba62f2e4c22a2c5df41996 /webclient/app.js | |
parent | renamed rooms to home - renamed files (diff) | |
download | synapse-de0706493affc7d8aa6d294fbd531fa0b75ef49c.tar.xz |
Use /home everywhere
Diffstat (limited to 'webclient/app.js')
-rw-r--r-- | webclient/app.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/webclient/app.js b/webclient/app.js index f666a63bf8..e5d8513944 100644 --- a/webclient/app.js +++ b/webclient/app.js @@ -19,7 +19,7 @@ var matrixWebClient = angular.module('matrixWebClient', [ 'MatrixWebClientController', 'LoginController', 'RoomController', - 'RoomsController', + 'HomeController', 'SettingsController', 'UserController', 'matrixService', @@ -45,9 +45,9 @@ matrixWebClient.config(['$routeProvider', '$provide', '$httpProvider', templateUrl: 'room/room.html', controller: 'RoomController' }). - when('/rooms', { - templateUrl: 'rooms/rooms.html', - controller: 'RoomsController' + when('/home', { + templateUrl: 'home/home.html', + controller: 'HomeController' }). when('/settings', { templateUrl: 'settings/settings.html', @@ -58,7 +58,7 @@ matrixWebClient.config(['$routeProvider', '$provide', '$httpProvider', controller: 'UserController' }). otherwise({ - redirectTo: '/rooms' + redirectTo: '/home' }); $provide.factory('AccessTokenInterceptor', ['$q', '$rootScope', |