Link IP addresses to IP searches.

This commit is contained in:
evazion
2017-01-12 05:21:35 +00:00
parent 63d5c7900d
commit bdf3366bcf
11 changed files with 14 additions and 10 deletions

View File

@@ -14,7 +14,7 @@
<tbody>
<% @ip_bans.each do |ip_ban| %>
<tr>
<td><%= ip_ban.ip_addr %></td>
<td><%= link_to_ip ip_ban.ip_addr %></td>
<td><%= ip_ban.creator.name %></td>
<td><%= ip_ban.reason %></td>
<td><%= link_to "Unban", ip_ban_path(ip_ban), :remote => true, :method => :delete, :data => {:confirm => "Do your really want to unban #{ip_ban.ip_addr}?"} %></td>