Increasing visible detail of mac log
This commit is contained in:
@@ -4,6 +4,10 @@ before_filter :authenticate_user!
|
||||
|
||||
def index
|
||||
@mac_logs = MacLog.desc.limit(1000)
|
||||
@macs = {}
|
||||
@mac_logs.each do |log|
|
||||
@macs.merge!({log.mac => Mac.find_by_mac(log.mac)})
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user