Mercurial > kallithea
diff rhodecode/controllers/error.py @ 986:5256b255269a beta
removed obsolete css from 404 page, and implemented rhodecode title app in the error page
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 31 Jan 2011 23:28:21 +0100 |
parents | 07a6e8c65526 |
children | 6832ef664673 |
line wrap: on
line diff
--- a/rhodecode/controllers/error.py Mon Jan 31 23:21:48 2011 +0100 +++ b/rhodecode/controllers/error.py Mon Jan 31 23:28:21 2011 +0100 @@ -29,7 +29,7 @@ import logging import paste.fileapp -from pylons import tmpl_context as c, request +from pylons import tmpl_context as c, request, config from pylons.i18n.translation import _ from pylons.middleware import media_path @@ -52,6 +52,7 @@ def document(self): resp = request.environ.get('pylons.original_response') + c.rhodecode_name = config.get('rhodecode_title') log.debug('### %s ###', resp.status)