diff --git a/pagure/ui/repo.py b/pagure/ui/repo.py index 5931714..f3b1692 100644 --- a/pagure/ui/repo.py +++ b/pagure/ui/repo.py @@ -128,8 +128,8 @@ def view_repo(repo, username=None): ) -@APP.route('//branch/') -@APP.route('/fork///branch/') +@APP.route('//branch/') +@APP.route('/fork///branch/') def view_repo_branch(repo, branchname, username=None): ''' Returns the list of branches in the repo. ''' @@ -202,9 +202,9 @@ def view_repo_branch(repo, branchname, username=None): @APP.route('//commits') -@APP.route('//commits/') +@APP.route('//commits/') @APP.route('/fork///commits') -@APP.route('/fork///commits/') +@APP.route('/fork///commits/') def view_commits(repo, branchname=None, username=None): """ Displays the commits of the specified repo. """