[CORE][ROUTES] Small refactor on entrypoint and RouteLoader

This commit is contained in:
Hugo Sales
2020-07-23 22:51:07 +00:00
committed by Hugo Sales
parent 1572261617
commit 97fd7620e7
2 changed files with 6 additions and 3 deletions

View File

@@ -89,7 +89,7 @@ class RouteLoader extends Loader
'_format' => $options['format'] ?? 'html',
'_fragment' => $options['fragment'] ?? '',
'_locale' => $options['locale'] ?? 'en',
'template' => $options['template'] ?? 'en',
'template' => $options['template'] ?? '',
],
$options['defaults'] ?? []),
// requirements = [] -- param => regex