diff --git a/lib/philomena/topics/attribution.ex b/lib/philomena/topics/attribution.ex new file mode 100644 index 00000000..171cd3a6 --- /dev/null +++ b/lib/philomena/topics/attribution.ex @@ -0,0 +1,9 @@ +defimpl Philomena.Attribution, for: Philomena.Topics.Topic do + def object_identifier(topic) do + to_string(topic.id) + end + + def best_user_identifier(topic) do + to_string(topic.user_id) + end +end \ No newline at end of file