Project

General

Profile

« Previous | Next » 

Revision 0f7676c1

Added by Amos Benari almost 12 years ago

  • ID 0f7676c17d491ecb8d2df267c0128549d7e3c94f

audit with association.

View differences:

app/views/audits/_row.erb
<% if audit_login? audit %>
<%= audit_user(audit)%> <%=link_to("Logged-in", audit_path(audit)) %>
<% else %>
<%= audit_user(audit)%> <%= audit_action_name audit%> <%= associated_type audit %> <%=link_to(" #{audit_title audit} ", audit_path(audit)) %>
<%= audit_user(audit)%> <%= audit_action_name audit%> <%= associated_type audit %>:
<%=link_to(audit_title(audit), audit_path(audit)) %> <%= audit_parent(audit) %>
<% end %>
<ul>
<% details(audit).each do |item| %>

Also available in: Unified diff