Fix bug in roles view
This commit is contained in:
parent
aaa1d17507
commit
286b095528
|
@ -134,7 +134,7 @@ class RolesView(MasterView):
|
||||||
users = AlchemyGrid('roles.users', self.request, data=users, model_class=model.User,
|
users = AlchemyGrid('roles.users', self.request, data=users, model_class=model.User,
|
||||||
main_actions=[
|
main_actions=[
|
||||||
GridAction('view', icon='zoomin',
|
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)
|
users.configure(include=[users.username], readonly=True)
|
||||||
kwargs['users'] = users
|
kwargs['users'] = users
|
||||||
|
|
Loading…
Reference in a new issue