Exclude 127.0.0.1 from ip search link

This commit is contained in:
Toks
2015-10-15 23:08:22 -04:00
parent 0b9aebddb6
commit 8789aeb9d8

View File

@@ -1,4 +1,4 @@
<p><%= link_to "Search for users with these IP addresses", moderator_ip_addrs_path(:search => {:ip_addr => @results.map {|k, count| k}.join(",")}) %></p>
<p><%= 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(",")}) %></p>
<table class="striped">
<thead>