summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-08-22 16:06:46 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-08-25 11:50:19 +0200
commit91ba1b345eff63b79f7111385d1e06e36911a589 (patch)
tree8defa07b2a3ffdc779af464903b148a390010e2e /core/routes.php
parente09e11b93ec609e63d81f18f78b94792e875ee90 (diff)
downloadnextcloud-server-91ba1b345eff63b79f7111385d1e06e36911a589.tar.gz
nextcloud-server-91ba1b345eff63b79f7111385d1e06e36911a589.zip
add lookup route for displaynames
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php
index ff79c450508..37eb2f8a56c 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -35,6 +35,10 @@ $this->create('core_ajax_share', '/core/ajax/share.php')
// Translations
$this->create('core_ajax_translations', '/core/ajax/translations.php')
->actionInclude('core/ajax/translations.php');
+// User display names
+$this->create('core_user_displaynames', '/displaynames')
+ ->get()
+ ->action('OC\Core\User\Controller', 'getDisplayNames');
// Tags
$this->create('core_tags_tags', '/tags/{type}')
->get()