]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_blocks/new.html.erb
Localisation updates from https://translatewiki.net.
[rails.git] / app / views / user_blocks / new.html.erb
index 9ea63f885cb4c49ef3b818c7d29db782a994e8af..4161f6af8301221d514bbd1c9accd49fe0a2f50d 100644 (file)
@@ -3,7 +3,7 @@
   <h1><%= raw t('user_block.new.heading',
                 :name => link_to(
                                  h(@this_user.display_name),
-                                 {:controller => 'user', :action => 'view', :display_name => @this_user.display_name})) %></h1>
+                                 user_path(@this_user))) %></h1>
 <% end %>
 <%= form_for(@user_block) do |f| %>
   <%= f.error_messages %>