link to correct user in profile edit view
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
end
|
||||
%>
|
||||
|
||||
<%= link_to @user.name, current_user %> → Edit
|
||||
<%= link_to @user.name, @user %> → Edit
|
||||
<h1>Edit profile</h1>
|
||||
|
||||
<%= form_for @user do |f| %>
|
||||
|
||||
Reference in New Issue
Block a user