Config Controller für Administration

This commit is contained in:
Andreas Stephanides
2013-02-16 11:02:47 +01:00
parent a8731f926f
commit bcc6de5349
6 changed files with 32 additions and 12 deletions

View File

@@ -1,8 +1,14 @@
<ul class="breadcrumb">
<li>
<%= link_to "Admin" , :controller =>"config" , :action => "index"%>
</li>
</ul>
<table class="table">
<% @users.each do |user|%>
<tr>
<th>
<%= user.email %></th><td><ul>
<tr><th>Name</th><th>E-Mail</th><th>Rollen</th>
</tr><tr><td></td>
<td>
<%= user.email %></td><td><ul>
<% user.roles.each do |role| %>
<li><%= role.name%></li>
<% end %></ul></td>