diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-08-22 16:06:46 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-08-25 11:50:19 +0200 |
commit | 91ba1b345eff63b79f7111385d1e06e36911a589 (patch) | |
tree | 8defa07b2a3ffdc779af464903b148a390010e2e /core/routes.php | |
parent | e09e11b93ec609e63d81f18f78b94792e875ee90 (diff) | |
download | nextcloud-server-91ba1b345eff63b79f7111385d1e06e36911a589.tar.gz nextcloud-server-91ba1b345eff63b79f7111385d1e06e36911a589.zip |
add lookup route for displaynames
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 4 |
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() |