append .html since componets always use html files

This commit is contained in:
Bernhard Posselt 2014-09-08 21:37:18 +02:00
parent 4aff85cd0c
commit f685d03674
1 changed files with 1 additions and 1 deletions

View File

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