views/permissions/display.haml in proxes-0.3.5 vs views/permissions/display.haml in proxes-0.3.6
- old
+ new
@@ -3,10 +3,13 @@
.col-md-8
.panel.panel-default
.panel-body
%p.description
%label Role:
- = entity.role.name
+ = entity.role ? entity.role.name : 'None'
+ %p.description
+ %label User:
+ = entity.user ? entity.user.username : 'None'
%p.description
%label Verb:
= entity.verb
%p.description
%label Pattern: