X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aa1fb6dbb8c2e71b8ce8c231ae1272a2dfebd75a..b897832349ad0878e950ed177b7a050efb9a4a7c:/app/views/user/account.html.erb
diff --git a/app/views/user/account.html.erb b/app/views/user/account.html.erb
index 92b3407bf..a493ade68 100644
--- a/app/views/user/account.html.erb
+++ b/app/views/user/account.html.erb
@@ -5,7 +5,7 @@
<% content_for :heading do %>
<%= t 'user.account.my settings' %>
- - <%= link_to t('user.account.return to profile'), :controller => 'user', :action => 'view', :display_name => current_user.display_name %>
+ - <%= link_to t('user.account.return to profile'), user_path(current_user) %>
- <%= link_to t('user.view.oauth settings'), :controller => 'oauth_clients', :action => 'index' %>
<% end %>
@@ -123,7 +123,7 @@
<%= t 'user.account.replace image' %>
<%= t 'user.account.image size hint' %>
- <%= f.file_field :image, :onchange => "$('#image_action_new').prop('checked', true)" %>
+ <%= f.file_field :image %>
<% else %>
@@ -132,7 +132,7 @@
<%= t 'user.account.new image' %>
<%= t 'user.account.image size hint' %>
- <%= f.file_field :image, :onchange => "$('#image_action_new').prop('checked', true)" %>
+ <%= f.file_field :image %>
<% end %>