]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_header.html.erb
Update translation keys for renaming of user#view to user#show
[rails.git] / app / views / layouts / _header.html.erb
index a3e1846a98b75cfa37a87d14c0740dbc74149cb8..cd3dfd46883e7d10b6f48516642d930c6c1eacaa 100644 (file)
@@ -86,7 +86,7 @@
             <% end %>
           </li>
           <li>
             <% end %>
           </li>
           <li>
-            <%= link_to t('user.show.my profile'), user_path(:display_name => current_user.display_name) %>
+            <%= link_to t('user.show.my profile'), user_path(current_user) %>
           </li>
           <li>
             <%= link_to t('user.show.my settings'), :controller => 'user', :action => 'account', :display_name => current_user.display_name %>
           </li>
           <li>
             <%= link_to t('user.show.my settings'), :controller => 'user', :action => 'account', :display_name => current_user.display_name %>