X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5244b2cd0b4248dff6689003e40d7f8df9c03b8d..1c7ead6008397ce815de4102d023a708be636a3c:/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 %>