summaryrefslogtreecommitdiffstats
path: root/lib/private/TemplateLayout.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-10-25 20:49:48 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-10-25 22:03:02 +0200
commitd5589a15d5c681bb26cb8717e0e5abdb5021a1b1 (patch)
tree18ae0edf3614ff84717c2856d05d2e145af7b969 /lib/private/TemplateLayout.php
parent35c7ecef6a1e9946bc32a31a3cfadffc0178ae7d (diff)
downloadnextcloud-server-d5589a15d5c681bb26cb8717e0e5abdb5021a1b1.tar.gz
nextcloud-server-d5589a15d5c681bb26cb8717e0e5abdb5021a1b1.zip
Move oc.js to a proper class
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r--lib/private/TemplateLayout.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php
index da845d80d04..92d861238c3 100644
--- a/lib/private/TemplateLayout.php
+++ b/lib/private/TemplateLayout.php
@@ -142,7 +142,7 @@ class TemplateLayout extends \OC_Template {
$jsFiles = self::findJavascriptFiles(\OC_Util::$scripts);
$this->assign('jsfiles', array());
if ($this->config->getSystemValue('installed', false) && $renderAs != 'error') {
- $this->append( 'jsfiles', \OC::$server->getURLGenerator()->linkToRoute('js_config', ['v' => self::$versionHash]));
+ $this->append( 'jsfiles', \OC::$server->getURLGenerator()->linkToRoute('core.OCJS.getConfig', ['v' => self::$versionHash]));
}
foreach($jsFiles as $info) {
$web = $info[1];