X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c65f808244a5042c5b437b5f3ea8dcc6d8513002..51d2a846ece990db7c4109ecf923ad9201c6f8e6:/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 %>