Fixing bugged branch browsing. Fixes #11 and #12

This commit is contained in:
Klaus Silveira
2012-05-23 21:08:54 -03:00
parent 9c4b5e9f35
commit 8b8c2aa71e
3 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
$app->get('{repo}/{branch}/rss/', function($repo, $branch) use($app) {
$repository = $app['git']->getRepository($app['git.repos'] . $repo);
$commits = $repository->getCommits();
$commits = $repository->getCommits($branch);
$html = $app['twig']->render('rss.twig', array(
'baseurl' => $app['baseurl'],