Logs

<% @logs.each do |log| %> <% end %>
Action IP Metadata
<%= log.action %> <%= log.ip %> <%= log.metadata.empty? ? '' : log.metadata.map {|k,v| "#{k}: #{v}"}.join(', ') %>
<% if @prev_page %> <%= link_to 'Newer', logs_path(page: @prev_page) %> <% end %> <% if @next_page %> <%= link_to 'Older', logs_path(page: @next_page) %> <% end %>