##// END OF EJS Templates
user: simplify fetching of personal repository groups....
marcink -
r1691:519ae2cd default
parent child Browse files
Show More
@@ -381,8 +381,7 b' class UsersController(BaseController):'
381 return redirect(h.route_path('users'))
381 return redirect(h.route_path('users'))
382
382
383 c.active = 'advanced'
383 c.active = 'advanced'
384 c.perm_user = AuthUser(user_id=user_id, ip_addr=self.ip_addr)
384 c.personal_repo_group = RepoGroup.get_user_personal_repo_group(user_id)
385 c.personal_repo_group = c.perm_user.personal_repo_group
386 c.personal_repo_group_name = RepoGroupModel()\
385 c.personal_repo_group_name = RepoGroupModel()\
387 .get_personal_group_name(user)
386 .get_personal_group_name(user)
388 c.first_admin = User.get_first_super_admin()
387 c.first_admin = User.get_first_super_admin()
General Comments 0
You need to be logged in to leave comments. Login now