From 61e4e5082329dc3c149b388a090877ce99ea8f80 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 28 2015 09:41:59 +0000 Subject: Adjust URL scheme to allow easier distinction between branch name and filename --- 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. """