mirror of
https://github.com/klaussilveira/gitlist.git
synced 2026-01-22 15:33:01 +01:00
removed some / at the end of some URLs to be consistent with other URLs
This commit is contained in:
@@ -41,7 +41,7 @@ $app->get('{repo}/commit/{commit}/', function($repo, $commit) use($app) {
|
||||
->assert('commit', '[a-f0-9]+')
|
||||
->bind('commit');
|
||||
|
||||
$app->get('{repo}/blame/{branch}/{file}/', function($repo, $branch, $file) use($app) {
|
||||
$app->get('{repo}/blame/{branch}/{file}', function($repo, $branch, $file) use($app) {
|
||||
$repository = $app['git']->getRepository($app['git.repos'] . $repo);
|
||||
$blames = $repository->getBlame("$branch -- $file");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user