Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Commit

Permalink
little change for role on index
Browse files Browse the repository at this point in the history
  • Loading branch information
edikle committed Jan 31, 2018
1 parent 44a5da8 commit e985182
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/users/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
<% @users.each do |user| %>
<tr>
<td><%= link_to user.name, user_path(user) %></td>
</tr>
<tr>
<td>
<%= user.role %>
<% if user.id == 1 %>
<p>Admin</p>
<% end %>
</td>
</tr>
<% end %>
Expand Down

0 comments on commit e985182

Please sign in to comment.