aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/src/router.js
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-05-08 10:01:54 +0200
committernpmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>2020-05-11 12:06:29 +0000
commit7daced619b8307838aed2a1cf40608b7485d136d (patch)
tree3ed0fd4b570c16e2478118ebb67508051ae614ee /apps/settings/src/router.js
parent09c209d4683ce844da5e0319acc6dc83c00f372a (diff)
downloadnextcloud-server-7daced619b8307838aed2a1cf40608b7485d136d.tar.gz
nextcloud-server-7daced619b8307838aed2a1cf40608b7485d136d.zip
Fix some linter warnings in settings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Diffstat (limited to 'apps/settings/src/router.js')
-rw-r--r--apps/settings/src/router.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/settings/src/router.js b/apps/settings/src/router.js
index d292719d384..e46947e7987 100644
--- a/apps/settings/src/router.js
+++ b/apps/settings/src/router.js
@@ -23,6 +23,7 @@
import Vue from 'vue'
import Router from 'vue-router'
+import { generateUrl } from '@nextcloud/router'
// Dynamic loading
const Users = () => import('./views/Users')
@@ -43,7 +44,7 @@ export default new Router({
mode: 'history',
// if index.php is in the url AND we got this far, then it's working:
// let's keep using index.php in the url
- base: OC.generateUrl(''),
+ base: generateUrl(''),
linkActiveClass: 'active',
routes: [
{