From f685d036743c44eaa5fd11ad8fdf73de89a1445b Mon Sep 17 00:00:00 2001
From: Bernhard Posselt <dev@bernhard-posselt.com>
Date: Mon, 8 Sep 2014 21:37:18 +0200
Subject: [PATCH] append .html since componets always use html files

---
 lib/private/template/functions.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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));
 }
 
-- 
GitLab