X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/eedf8a55e4e14d8721b209201b2bdd96d5b6738e..e3c919275818d46a515c183cf373d7a53bc6942a:/app/views/profiles/edit.html.erb diff --git a/app/views/profiles/edit.html.erb b/app/views/profiles/edit.html.erb index 5bf7426f2..fea15eb2f 100644 --- a/app/views/profiles/edit.html.erb +++ b/app/views/profiles/edit.html.erb @@ -42,18 +42,23 @@
<%= 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 %>