diff rhodecode/config/routing.py @ 2624:19daa8d761dc beta

Improvements to my account page - lazy load repositories via ajax results in much faster page load - added pull requests tab to see my pullrequests and the ones i participate in - new style tabs
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 16 Jul 2012 23:19:34 +0200
parents 3f50a5e8fc4d
children f79320e47e99
line wrap: on
line diff
--- a/rhodecode/config/routing.py	Mon Jul 16 18:47:36 2012 +0200
+++ b/rhodecode/config/routing.py	Mon Jul 16 23:19:34 2012 +0200
@@ -296,6 +296,11 @@
                   action="my_account_update", conditions=dict(method=["PUT"]))
         m.connect("admin_settings_create_repository", "/create_repository",
                   action="create_repository", conditions=dict(method=["GET"]))
+        m.connect("admin_settings_my_repos", "/my_account/repos",
+                  action="my_account_my_repos", conditions=dict(method=["GET"]))
+        m.connect("admin_settings_my_pullrequests", "/my_account/pull_requests",
+                  action="my_account_my_pullrequests", conditions=dict(method=["GET"]))
+
 
     #NOTIFICATION REST ROUTES
     with rmap.submapper(path_prefix=ADMIN_PREFIX,