mirror of
https://github.com/klaussilveira/gitlist.git
synced 2025-11-17 11:10:57 +01:00
Merge pull request #302 from keelerm84/missing-mandatory-parameters
Missing parameters when generating blob_raw route
This commit is contained in:
@@ -27,8 +27,7 @@ class BlobController implements ControllerProviderInterface
|
|||||||
if ($fileType !== 'image' && $app['util.repository']->isBinary($file)) {
|
if ($fileType !== 'image' && $app['util.repository']->isBinary($file)) {
|
||||||
return $app->redirect($app['url_generator']->generate('blob_raw', array(
|
return $app->redirect($app['url_generator']->generate('blob_raw', array(
|
||||||
'repo' => $repo,
|
'repo' => $repo,
|
||||||
'branch' => $branch,
|
'commitishPath' => $commitishPath,
|
||||||
'file' => $file,
|
|
||||||
)));
|
)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user