Fix homepage getter

This commit is contained in:
Stéphane Goetz 2015-04-26 18:24:22 +02:00
parent f3d472363d
commit b6c8b567fc

View File

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