Remove IpAddress model.

This commit is contained in:
evazion
2022-09-17 23:29:57 -05:00
parent 075199cd1e
commit 553d35178c
8 changed files with 12 additions and 68 deletions

View File

@@ -15,7 +15,7 @@
<% t.column "Name", td: { class: "col-expand" } do |user| %>
<%= link_to_user user %>
<% end %>
<% if policy(IpAddress).show? %>
<% if policy(:ip_address).show? %>
<% t.column "IP" do |user| %>
<% if user.last_ip_addr.present? %>
<%= link_to user.last_ip_addr, ip_address_path(user.last_ip_addr) %>