X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0e21afc56593eb9fce14d8cfe0984494e758c150..95d99d0faf14e82aed6447fb9e92cc0e54e5e3ad:/app/views/profiles/edit.html.erb
diff --git a/app/views/profiles/edit.html.erb b/app/views/profiles/edit.html.erb
index b207e72e2..ac76b4d2d 100644
--- a/app/views/profiles/edit.html.erb
+++ b/app/views/profiles/edit.html.erb
@@ -42,7 +42,7 @@
<%= f.primary t(".save") %>
- <%= link_to t(".cancel"), user_path(current_user), :class => "btn btn-link" %>
+ <%= link_to t(".cancel"), current_user, :class => "btn btn-link" %>
<% end %>