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

[10/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/250edeb1
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/250edeb1
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/250edeb1

Branch: refs/heads/ib/8023b
Commit: 250edeb1293e7420d0105af21627e065c71494d8
Parents: 5dc99b3
Author: Denis Kotov <de...@gmail.com>
Authored: Fri Dec 11 17:52:06 2015 +0200
Committer: Igor Bondarenko <je...@gmail.com>
Committed: Tue Dec 15 13:43:03 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/allura/blob/250edeb1/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,