mirror of
https://github.com/klaussilveira/gitlist.git
synced 2026-07-01 01:19:03 +02:00
Fixed fatal errors caused by the missing "query" field in layout_page
This commit is contained in:
@@ -42,6 +42,7 @@ class TreeController implements ControllerProviderInterface
|
||||
'branches' => $repository->getBranches(),
|
||||
'tags' => $repository->getTags(),
|
||||
'readme' => $app['util.repository']->getReadme($repository, $branch),
|
||||
'query' => ''
|
||||
));
|
||||
})->assert('repo', $app['util.routing']->getRepositoryRegex())
|
||||
->assert('commitishPath', $app['util.routing']->getCommitishPathRegex())
|
||||
@@ -65,6 +66,7 @@ class TreeController implements ControllerProviderInterface
|
||||
'breadcrumbs' => $breadcrumbs,
|
||||
'branches' => $repository->getBranches(),
|
||||
'tags' => $repository->getTags(),
|
||||
'query' => $query
|
||||
));
|
||||
})->assert('repo', $app['util.routing']->getRepositoryRegex())
|
||||
->assert('branch', $app['util.routing']->getBranchRegex())
|
||||
|
||||
Reference in New Issue
Block a user