8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-09-12 01:03:09 +00:00

Better naming

This commit is contained in:
klafyvel 2019-09-19 23:14:33 +02:00
parent 17704fce9c
commit 6c476f080e

View file

@ -521,7 +521,7 @@ def history(request, application, object_name, object_id):
'users:profil',
kwargs={'userid': str(request.user.id)}
))
can, msg, _extra_msg = instance.can_view(request.user)
can, msg, _permissions = instance.can_view(request.user)
if not can:
messages.error(request, msg or _("You don't have the right to access this menu."))
return redirect(reverse(