public function show($owner, $project, $branch)
{
$repository = $project->getRepository();
if ($branch === null) {
$branch = $repository->getHead();
}
$commits = $repository->getPaginatedCommits($branch);
return Response::make(View::make('projects/rss')->withProject($project)->withBranch($branch)->withCommits($commits), 200, ['Content-Type' => 'application/rss+xml']);
}