summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2016-03-08 23:46:07 +0100
committerjomo <github@jomo.tv>2016-03-08 23:46:07 +0100
commit82d4b1d27b7ae34ca9651e6e100b2bc4cd44ff98 (patch)
tree9b77ded79835b94f9fc017809a6fe45852c3ad48
parent854dc4d8347078b4faf434431ab468714fe094d1 (diff)
link to correct user in profile edit view
-rw-r--r--app/views/users/edit.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb
index b2d1bd5..f07ea62 100644
--- a/app/views/users/edit.html.erb
+++ b/app/views/users/edit.html.erb
@@ -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| %>