summary refs log tree commit diff
path: root/webclient/app-controller.js
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-27 15:34:01 +0100
committerErik Johnston <erik@matrix.org>2014-08-27 15:34:01 +0100
commit08881d808d7cfd600d130eb7a960c6c51c797a09 (patch)
tree1a8c8833a981b9a01e5f8c68c555203f2bc59455 /webclient/app-controller.js
parentIndex sources in a nicer fashion. (diff)
parentBF: use room_id if there is no alias (diff)
downloadsynapse-08881d808d7cfd600d130eb7a960c6c51c797a09.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactor
Diffstat (limited to 'webclient/app-controller.js')
-rw-r--r--webclient/app-controller.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/webclient/app-controller.js b/webclient/app-controller.js
index f210119e21..5d3fa6ddc8 100644
--- a/webclient/app-controller.js
+++ b/webclient/app-controller.js
@@ -37,7 +37,11 @@ angular.module('MatrixWebClientController', ['matrixService', 'mPresence', 'even
         mPresence.start();
     }
     
-    $scope.go = function(url) {
+    /**
+     * Open a given page.
+     * @param {String} url url of the page
+     */
+    $scope.goToPage = function(url) {
         $location.url(url);
     };