lib/zen/package/users/lib/users/view/admin/access-rules/index.xhtml in zen-0.2.3 vs lib/zen/package/users/lib/users/view/admin/access-rules/index.xhtml in zen-0.2.4
- old
+ new
@@ -47,13 +47,13 @@
</td>
<?r else ?>
<td>#{rule.extension}</td>
<?r end ?>
- <td>#{@boolean_hash[rule.create_access]}</td>
- <td>#{@boolean_hash[rule.read_access]}</td>
- <td>#{@boolean_hash[rule.update_access]}</td>
- <td>#{@boolean_hash[rule.delete_access]}</td>
+ <td>#{@boolean_hash.invert[rule.create_access]}</td>
+ <td>#{@boolean_hash.invert[rule.read_access]}</td>
+ <td>#{@boolean_hash.invert[rule.update_access]}</td>
+ <td>#{@boolean_hash.invert[rule.delete_access]}</td>
<td>
<?r if !rule.user_id.nil? ?>
#{rule.user.name}
<?r end ?>
</td>