forked from GNUsocial/gnu-social
[CORE][ROUTES] Small refactor on entrypoint and RouteLoader
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user