summaryrefslogtreecommitdiffstats
path: root/core/src/OC/index.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-04-29 17:42:27 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-02 11:30:00 +0200
commit766ba99f2120129c5777adf885669917d5c0e7e4 (patch)
tree5781202aeb851dcfc788513c30e21f1cc23285e7 /core/src/OC/index.js
parentce11b1ee9f15b16581760831c9f357be99a56bfd (diff)
downloadnextcloud-server-766ba99f2120129c5777adf885669917d5c0e7e4.tar.gz
nextcloud-server-766ba99f2120129c5777adf885669917d5c0e7e4.zip
Move the OC routing helper functions to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/src/OC/index.js')
-rw-r--r--core/src/OC/index.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/src/OC/index.js b/core/src/OC/index.js
index 789b5b22fa7..308324ff4bd 100644
--- a/core/src/OC/index.js
+++ b/core/src/OC/index.js
@@ -27,6 +27,14 @@ import ContactsMenu from './contactsmenu'
import Dialogs from './dialogs'
import EventSource from './eventsource'
import L10N from './l10n'
+import {
+ generateUrl,
+ filePath,
+ linkTo,
+ linkToOCS,
+ linkToRemote,
+ linkToRemoteBase,
+} from './routing'
import msg from './msg'
import Notification from './notification'
import PasswordConfirmation from './password-confirmation'
@@ -51,6 +59,12 @@ export default {
Plugins,
search,
Util,
+ generateUrl,
+ filePath,
redirect,
reload,
+ linkTo,
+ linkToOCS,
+ linkToRemote,
+ linkToRemoteBase,
}