app/views/guts/users/show.html.erb in guts-1.3.6 vs app/views/guts/users/show.html.erb in guts-1.4.0
- old
+ new
@@ -19,15 +19,23 @@
<tr>
<td><strong>Groups</strong></td>
<td><%= @user.groups.collect(&:title).join(', ') %></td>
</tr>
<tr>
+ <td><strong>Permissions</strong></td>
+ <td>
+ <% @user.permissions.each do |permission| %>
+ <u><%= clean_subject_class permission.authorization.subject_class %>:</u> <%= permission.authorization.action %><br>
+ <% end %>
+ </td>
+ </tr>
+ <tr>
<td><strong>Created</strong></td>
<td><%= @user.created_at %></td>
</tr>
<tr>
<td><strong>Updated</strong></td>
<td><%= @user.updated_at %></td>
</tr>
</table>
</div>
-</div>
\ No newline at end of file
+</div>