Adjusting wording and stat counts
This commit is contained in:
@@ -23,5 +23,16 @@
|
||||
<%= @mac.ip %>
|
||||
</p>
|
||||
|
||||
<% if can? :read, MacLog %>
|
||||
<p>
|
||||
<b>Recent Log Entries:</b>
|
||||
<ul>
|
||||
<% @mac_logs.each do |log| %>
|
||||
<li><%= log.created_at %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
<%= link_to 'Edit', edit_mac_path(@mac) %> |
|
||||
<%= link_to 'Back', macs_path %>
|
||||
|
||||
Reference in New Issue
Block a user