Commit 8f1190f7 authored by Marin Jankovski's avatar Marin Jankovski

Use hash instead of json.

parent b68e1123
class AuditEvent < ActiveRecord::Base
serialize :details, JSON
serialize :details, Hash
belongs_to :user, foreign_key: :author_id
......
......@@ -23,7 +23,7 @@
%td
%td #{raw human_text(event.details)}
%td
%td #{event.details['target_details']}
%td #{event.details[:target_details]}
%td
%td #{event.created_at}
= paginate events
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment