Fix #4666: Broken network link for some IPs.

This commit is contained in:
evazion
2021-03-01 18:09:15 -06:00
parent 92b8f24724
commit 52adf87489
5 changed files with 94 additions and 57 deletions

View File

@@ -17,7 +17,7 @@ class IpAddressesController < ApplicationController
def show
@ip_address = authorize IpAddress.new(ip_addr: params[:id])
@ip_info = @ip_address.lookup.response
@ip_info = @ip_address.ip_addr.ip_info
respond_with(@ip_info)
end
end