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 admin on show
Browse files Browse the repository at this point in the history
  • Loading branch information
victorloo committed Jan 31, 2018
1 parent b920f8b commit 8d550fc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions app/views/users/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
<% @users.each do |user| %>
<tr>
<td><%= link_to user.name, user_path(user) %></td>
</tr>
<tr>
<td>
<%= user.role %>
</td>
Expand Down
2 changes: 1 addition & 1 deletion app/views/users/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<tr>
<th>Role: </th>
<td>
<%= @user.role %>
<p>Admin</p>
</td>
</tr>
</table>

0 comments on commit 8d550fc

Please sign in to comment.