Usuário
<%= link_to "Editar", edit_user_path(@user) %>
- Name: <%= @user.name %>
- Email: <%= @user.email %>
- Username: <%= @user.username %>
- Active: <%= @user.active %>
Perfis
<% @user.role_group_users.each do |permission| %>
- <%= permission.role.name %>
<% end -%>
<%= link_to "Voltar", users_path %>