X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/033c032ed6ffbdd95d0cea1ace5c736d51934013..4965c19b7a8c96ab87b543af1fc36a1ad7514c09:/app/views/profiles/edit.html.erb diff --git a/app/views/profiles/edit.html.erb b/app/views/profiles/edit.html.erb index a50d4b5db..d755be52c 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 %>