Mercurial > public > src > rhodecode
diff pylons_app/controllers/error.py @ 101:8b06c420491d
statics moved to pylons.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 25 Apr 2010 01:25:54 +0200 |
parents | 9f6300b96380 |
children | 2811259dc12d |
line wrap: on
line diff
--- a/pylons_app/controllers/error.py Sun Apr 25 01:20:56 2010 +0200 +++ b/pylons_app/controllers/error.py Sun Apr 25 01:25:54 2010 +0200 @@ -23,7 +23,7 @@ # def __before__(self): c.repos_prefix = config['repos_name'] - c.staticurl = g.statics + c.repo_name = request.environ['pylons.original_request']\ .environ.get('PATH_INFO').split('/')[-1]