X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/14936150ac8ab5cb4e8347b772b2c966f2add43f..134f9e2df1b3d3c797e7fbb1cf2de3d76a018330:/app/views/profiles/edit.html.erb?ds=inline diff --git a/app/views/profiles/edit.html.erb b/app/views/profiles/edit.html.erb index b207e72e2..47282d5a2 100644 --- a/app/views/profiles/edit.html.erb +++ b/app/views/profiles/edit.html.erb @@ -60,5 +60,5 @@ <%= 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 %>