feat: Skip the md extension in the URL
This commit is contained in:
parent
c841c5c212
commit
6bb37a4741
|
@ -32,7 +32,7 @@ final class MainController extends AbstractController
|
||||||
// ---------------------------------------------- Get file contents ---
|
// ---------------------------------------------- Get file contents ---
|
||||||
|
|
||||||
$fullPath = sprintf(
|
$fullPath = sprintf(
|
||||||
'%s/var/data/%s',
|
'%s/var/data/%s.md',
|
||||||
$this->getParameter('kernel.project_dir'),
|
$this->getParameter('kernel.project_dir'),
|
||||||
$path,
|
$path,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue