Fix #4666: Broken network link for some IPs.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user