Fix homepage getter

This commit is contained in:
Stéphane Goetz 2015-04-26 18:24:22 +02:00
parent f3d472363d
commit b6c8b567fc
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ class MarkdownPage extends SimplePage
$this->title = $params['title'];
}
}
if ($params['breadcrumbs']) {
$this->breadcrumb_trail = $this->buildBreadcrumbTrail($file->getParents(), $params['multilanguage']);
}
@ -87,7 +87,7 @@ class MarkdownPage extends SimplePage
$entry_page[$name] = $params['base_page'] . $params['entry_page'][$key]->getUrl();
}
} else {
$entry_page['View Documentation'] = $params['base_page'] . $params['entry_page']->getUri();
$entry_page['View Documentation'] = $params['base_page'] . $params['entry_page']->getUrl();
}
} elseif ($params['file_uri'] === 'index') {
$entry_page[$params['entry_page']->title] = $params['base_page'] . $params['entry_page']->getUrl();