X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a36f3558dd43dd5a598e36dd21fd5f7d2b4a94f5..6f74ae342974a4190517bcccec692d7bed6cb2c8:/app/views/user_blocks/revoke.html.erb
diff --git a/app/views/user_blocks/revoke.html.erb b/app/views/user_blocks/revoke.html.erb
index c67f7cde2..f812ffff6 100644
--- a/app/views/user_blocks/revoke.html.erb
+++ b/app/views/user_blocks/revoke.html.erb
@@ -6,10 +6,10 @@
<%= raw t('user_block.revoke.heading',
:block_on => link_to(
h(@user_block.user.display_name),
- {:controller => 'user', :action => 'view', :display_name => @user_block.user.display_name}),
+ user_path(@user_block.user)),
:block_by => link_to(
h(@user_block.creator.display_name),
- {:controller => 'user', :action => 'view', :display_name => @user_block.creator.display_name})) %>
+ user_path(@user_block.creator))) %>
<% end %>
<% if @user_block.ends_at > Time.now %>