Your Mac Address Data
<%= link_to 'Download JSON', mac_statistics_path+".json", :class => 'btn' %>
Date
Action
MAC
IP
<% @mac_logs.each do |log| %>
<%= log.created_at %>
<%= log.action %>
<%= log.mac %>
<%= log.ip %>
<% end %>