From 8789aeb9d8b932b18d0023418343a96828c012b9 Mon Sep 17 00:00:00 2001 From: Toks Date: Thu, 15 Oct 2015 23:08:22 -0400 Subject: [PATCH] Exclude 127.0.0.1 from ip search link --- app/views/moderator/ip_addrs/_ip_listing.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/moderator/ip_addrs/_ip_listing.erb b/app/views/moderator/ip_addrs/_ip_listing.erb index 45c11d14b..217c3874f 100644 --- a/app/views/moderator/ip_addrs/_ip_listing.erb +++ b/app/views/moderator/ip_addrs/_ip_listing.erb @@ -1,4 +1,4 @@ -

<%= link_to "Search for users with these IP addresses", moderator_ip_addrs_path(:search => {:ip_addr => @results.map {|k, count| k}.join(",")}) %>

+

<%= link_to "Search for users with these IP addresses", moderator_ip_addrs_path(:search => {:ip_addr => @results.map {|k, count| k}.reject{|ip| ip == "127.0.0.1"}.join(",")}) %>