diff pylons_app/config/routing.py @ 55:e00dccb6f211

Implemented index page using vcs
author Marcin Kuzminski <marcin@python-blog.com>
date Thu, 08 Apr 2010 22:59:49 +0200
parents f6ac79182600
children 9a2affee4a45
line wrap: on
line diff
--- a/pylons_app/config/routing.py	Thu Apr 08 18:17:28 2010 +0200
+++ b/pylons_app/config/routing.py	Thu Apr 08 22:59:49 2010 +0200
@@ -25,6 +25,8 @@
     
     map.resource('repo', 'repos', path_prefix='/_admin')
     map.resource('user', 'users', path_prefix='/_admin')
+    
+    map.connect('hg_home', '/', controller='hg', action='index')
         
     map.connect('hg', '/{path_info:.*}', controller='hg',
                 action="view", path_info='/')