diff rhodecode/controllers/admin/repos.py @ 3288:6cdf2cd9d9d8 beta

repo edit: it is a repo thing more than an admin thing - show it that way in ui and url
author Mads Kiilerich <madski@unity3d.com>
date Wed, 30 Jan 2013 21:13:47 +0100
parents 8f3cc21d83e6
children 72a91632b731
line wrap: on
line diff
--- a/rhodecode/controllers/admin/repos.py	Wed Jan 30 20:30:37 2013 +0100
+++ b/rhodecode/controllers/admin/repos.py	Wed Jan 30 21:13:47 2013 +0100
@@ -38,7 +38,7 @@
 from rhodecode.lib import helpers as h
 from rhodecode.lib.auth import LoginRequired, HasPermissionAllDecorator, \
     HasPermissionAnyDecorator, HasRepoPermissionAllDecorator
-from rhodecode.lib.base import BaseController, render
+from rhodecode.lib.base import BaseRepoController, render
 from rhodecode.lib.utils import invalidate_cache, action_logger, repo_name_slug
 from rhodecode.lib.helpers import get_token
 from rhodecode.model.meta import Session
@@ -53,7 +53,7 @@
 log = logging.getLogger(__name__)
 
 
-class ReposController(BaseController):
+class ReposController(BaseRepoController):
     """
     REST Controller styled on the Atom Publishing Protocol"""
     # To properly map this controller, ensure your config/routing.py