mongoid-audit 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mongoid-audit/rails_admin.rb +2 -2
- data/lib/mongoid-audit/version.rb +1 -1
- metadata +1 -1
@@ -16,7 +16,7 @@ module RailsAdmin
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def table
|
19
|
-
@version.
|
19
|
+
@version.association_chain.last['name']
|
20
20
|
end
|
21
21
|
|
22
22
|
def username
|
@@ -24,7 +24,7 @@ module RailsAdmin
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def item
|
27
|
-
@version.
|
27
|
+
@version.association_chain.last['id']
|
28
28
|
end
|
29
29
|
end
|
30
30
|
|