diff pylons_app/config/routing.py @ 103:665b344927f4

Added changeset controllers
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 25 Apr 2010 22:16:05 +0200
parents 5b57295601b6
children cfddee9d3693
line wrap: on
line diff
--- a/pylons_app/config/routing.py	Sun Apr 25 18:42:58 2010 +0200
+++ b/pylons_app/config/routing.py	Sun Apr 25 22:16:05 2010 +0200
@@ -32,6 +32,7 @@
         m.connect('admin_add_repo', '/add_repo/{new_repo:[a-z0-9\. _-]*}', action='add_repo')
     
     
+    map.connect('changeset_home', '/{repo_name}/changeset/{revision}', controller='changeset', revision='tip')
     map.connect('summary_home', '/{repo_name}/summary', controller='summary')
     map.connect('changelog_home', '/{repo_name}/changelog', controller='changelog')
     map.connect('branches_home', '/{repo_name}/branches', controller='branches')