Merge pull request #302 from keelerm84/missing-mandatory-parameters

Missing parameters when generating blob_raw route
This commit is contained in:
Klaus Silveira
2013-04-18 10:36:47 -07:00

View File

@@ -27,8 +27,7 @@ class BlobController implements ControllerProviderInterface
if ($fileType !== 'image' && $app['util.repository']->isBinary($file)) {
return $app->redirect($app['url_generator']->generate('blob_raw', array(
'repo' => $repo,
'branch' => $branch,
'file' => $file,
'commitishPath' => $commitishPath,
)));
}