##// END OF EJS Templates
files: accept URLs with no path and no slash after the revision...
Mads Kiilerich -
r3576:c177f304 beta
parent child Browse files
Show More
@@ -583,6 +583,10 b' def make_map(config):'
583 583 controller='files', revision='tip', f_path='',
584 584 conditions=dict(function=check_repo))
585 585
586 rmap.connect('files_home_nopath', '/{repo_name:.*?}/files/{revision}',
587 controller='files', revision='tip', f_path='',
588 conditions=dict(function=check_repo))
589
586 590 rmap.connect('files_history_home',
587 591 '/{repo_name:.*?}/history/{revision}/{f_path:.*}',
588 592 controller='files', action='history', revision='tip', f_path='',
General Comments 0
You need to be logged in to leave comments. Login now