app/views/as_user/users/show.html.erb in as_user-0.0.2 vs app/views/as_user/users/show.html.erb in as_user-0.0.3
- old
+ new
@@ -1,20 +1,14 @@
<p id="notice"><%= notice %></p>
<p>
- <b>Email:</b>
- <%= @user.email %>
+ <b>Id:</b>
+ <%= @user.id %>
</p>
<p>
<b>Name:</b>
<%= @user.name %>
</p>
-<p>
- <b>Password digest:</b>
- <%= @user.password_digest %>
-</p>
-
-
-<%= link_to 'Edit', edit_user_path(@user) %> |
<%= link_to 'Back', users_path %>
+<%= link_to 'Logout', signout_path,method: :delete if current_user%>