delegate attribution correctly

This commit is contained in:
byte[] 2019-12-05 22:11:52 -05:00
parent 0c976851ed
commit 8d08c42331

View file

@ -1,10 +1,10 @@
defimpl Philomena.Attribution, for: Philomena.Versions.Version do
def object_identifier(version) do
to_string(version.parent.id)
Philomena.Attribution.object_identifier(version.parent)
end
def best_user_identifier(version) do
to_string(version.user.id)
Philomena.Attribution.best_user_identifier(version.parent)
end
def anonymous?(version) do