summaryrefslogtreecommitdiffstats
path: root/lib/private/template
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-08 21:37:18 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-08 21:37:18 +0200
commitf685d036743c44eaa5fd11ad8fdf73de89a1445b (patch)
tree590365022a3962c2777df42332a27c9e1306a2b5 /lib/private/template
parent4aff85cd0cc8b4f68d65ee849ad96ce26a730931 (diff)
downloadnextcloud-server-f685d036743c44eaa5fd11ad8fdf73de89a1445b.tar.gz
nextcloud-server-f685d036743c44eaa5fd11ad8fdf73de89a1445b.zip
append .html since componets always use html files
Diffstat (limited to 'lib/private/template')
-rw-r--r--lib/private/template/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/template/functions.php b/lib/private/template/functions.php
index 313bedf9c9f..05467e61185 100644
--- a/lib/private/template/functions.php
+++ b/lib/private/template/functions.php
@@ -47,7 +47,7 @@ function style($app, $file) {
* @param string $file the path relative to the app's component folder
*/
function component($app, $file) {
- $url = link_to($app, 'component/' . $file);
+ $url = link_to($app, 'component/' . $file . '.html');
OC_Util::addHeader('link', array('rel' => 'import', 'href' => $url));
}