You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2015/12/15 16:49:04 UTC

[11/12] allura git commit: [#8023] ticket:872 change my_projects_by_role_name call in controller

[#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 <de...@gmail.com>
Authored: Fri Dec 11 17:52:06 2015 +0200
Committer: Dave Brondsema <da...@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,