Fix bug in roles view

This commit is contained in:
Lance Edgar 2016-05-05 16:27:35 -05:00
parent aaa1d17507
commit 286b095528

View file

@ -134,7 +134,7 @@ class RolesView(MasterView):
users = AlchemyGrid('roles.users', self.request, data=users, model_class=model.User,
main_actions=[
GridAction('view', icon='zoomin',
url=lambda u: self.request.route_url('users.view', uuid=u.uuid)),
url=lambda r, i: self.request.route_url('users.view', uuid=r.uuid)),
])
users.configure(include=[users.username], readonly=True)
kwargs['users'] = users