summary refs log tree commit diff
path: root/webclient/app.js
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-08-22 17:11:39 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-08-22 17:55:05 +0200
commitaaf623fa534d2486eeadb79de0905c374e019098 (patch)
tree9f644caf7d799b415749477ce1170fb8910cd3e5 /webclient/app.js
parentUse $location.url instead of $location.path to get clean page URL without has... (diff)
downloadsynapse-aaf623fa534d2486eeadb79de0905c374e019098.tar.xz
Move profile parts of the rooms page and the config content into a new page: settings
Diffstat (limited to 'webclient/app.js')
-rw-r--r--webclient/app.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/webclient/app.js b/webclient/app.js
index 944b8ec270..f666a63bf8 100644
--- a/webclient/app.js
+++ b/webclient/app.js
@@ -20,6 +20,7 @@ var matrixWebClient = angular.module('matrixWebClient', [
     'LoginController',
     'RoomController',
     'RoomsController',
+    'SettingsController',
     'UserController',
     'matrixService',
     'eventStreamService',
@@ -48,6 +49,10 @@ matrixWebClient.config(['$routeProvider', '$provide', '$httpProvider',
                 templateUrl: 'rooms/rooms.html',
                 controller: 'RoomsController'
             }).
+            when('/settings', {
+                templateUrl: 'settings/settings.html',
+                controller: 'SettingsController'
+            }).
             when('/user/:user_matrix_id', {
                 templateUrl: 'user/user.html',
                 controller: 'UserController'