ip addresses: fix exception on ip_addresses/show page.
This commit is contained in:
@@ -4,6 +4,6 @@ class IpAddressPolicy < ApplicationPolicy
|
||||
end
|
||||
|
||||
def html_data_attributes
|
||||
super & attributes.keys.map(&:to_sym)
|
||||
super & record.attributes.keys.map(&:to_sym)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user