X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/14936150ac8ab5cb4e8347b772b2c966f2add43f..6b55cce25c2ed58c6513ae7f3f5dd24518cb489e:/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 %>