Files @ 2968fb635787
Branch filter:

Location: kallithea/pylons_app/lib/utils.py

Marcin Kuzminski
updated routing
1
2
3
4
5
6
7
   
def get_repo_slug(request):
    path_info = request.environ.get('PATH_INFO')
    repo_name = path_info.split('/')[-2]
    action = path_info.split('/')[-1]
    
    return repo_name