Skip to content

Commit

Permalink
fix error with full name method
Browse files Browse the repository at this point in the history
  • Loading branch information
vol1ura committed Dec 19, 2023
1 parent 5bea2e4 commit 6d9beb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/_audits_table.html.arb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ table_for object.own_and_associated_audits.includes(:user, :auditable).reorder(c
column :action
column :audited_changes
column :version
column(:user) { |a| link_to full_name(a.user), admin_user_path(a.user) if a.user }
column(:user) { |a| link_to a.user.full_name, admin_user_path(a.user) if a.user }
column :created_at
end

0 comments on commit 6d9beb1

Please # to comment.