diff --git a/pagure/ui/repo.py b/pagure/ui/repo.py index 8e819be..8463ad1 100644 --- a/pagure/ui/repo.py +++ b/pagure/ui/repo.py @@ -297,8 +297,8 @@ def view_commits(repo, branchname=None, username=None): ) -@APP.route('//blob//') -@APP.route('/fork///blob//') +@APP.route('//blob//f/') +@APP.route('/fork///blob//f/') def view_file(repo, identifier, filename, username=None): """ Displays the content of a file or a tree for the specified repo. """