diff --git a/app/views/ip_bans/index.html.erb b/app/views/ip_bans/index.html.erb index 326f356cc..7313ec31c 100644 --- a/app/views/ip_bans/index.html.erb +++ b/app/views/ip_bans/index.html.erb @@ -14,7 +14,7 @@ <%= table_for @ip_bans, class: "striped autofit", width: "100%" do |t| %> <% t.column "IP Address" do |ip_ban| %> - <%= link_to_ip ip_ban.subnetted_ip %> + <%= link_to ip_ban.subnetted_ip, ip_address_path(ip_ban.ip_addr.to_s) %> <% end %> <% t.column :reason, td: { class: "col-expand" } %> <% t.column "Status" do |ip_ban| %> @@ -35,7 +35,6 @@