allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [11/12] allura git commit: [#8023] ticket:872 change my_projects_by_role_name call in controller
Date Tue, 15 Dec 2015 15:49:04 GMT
[#8023] ticket:872 change my_projects_by_role_name call in controller


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/e5c8519f
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/e5c8519f
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/e5c8519f

Branch: refs/heads/master
Commit: e5c8519fe63c4312660fa6ac3300edde9b559e2f
Parents: 9b13d03
Author: Denis Kotov <deniskkotov@gmail.com>
Authored: Fri Dec 11 17:52:06 2015 +0200
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Tue Dec 15 10:05:57 2015 -0500

----------------------------------------------------------------------
 Allura/allura/controllers/auth.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/e5c8519f/Allura/allura/controllers/auth.py
----------------------------------------------------------------------
diff --git a/Allura/allura/controllers/auth.py b/Allura/allura/controllers/auth.py
index 27c7c4d..b0e4143 100644
--- a/Allura/allura/controllers/auth.py
+++ b/Allura/allura/controllers/auth.py
@@ -1051,7 +1051,7 @@ class DisableAccountController(BaseController):
     def index(self, **kw):
         provider = plugin.AuthenticationProvider.get(request)
         menu = provider.account_navigation()
-        my_projects = c.user.my_projects_by_role_name('Admin').all()
+        my_projects = c.user.my_projects_by_role_name('Admin')
         return {
             'menu': menu,
             'my_projects': my_projects,


Mime
View raw message