diff --git a/app/views/admin/users/index.html.erb b/app/views/admin/users/index.html.erb index 2e1b688..150f214 100644 --- a/app/views/admin/users/index.html.erb +++ b/app/views/admin/users/index.html.erb @@ -9,6 +9,7 @@ User Id User Name User Email + User Role @@ -16,8 +17,8 @@ <%= user.id %> <%= user.name %> - <%= user.email %> + <%= user.roles.empty? ? "Sample Role" : user.roles.first.name %> <% end %> @@ -33,7 +34,7 @@ "aoColumns": [ null, null, -// { "bSearchable": false }, + null, null ] } ); });