Fixed bug with invalid event author

This commit is contained in:
Dmitriy Zaporozhets 2013-08-14 14:19:11 +03:00
parent c17280f55a
commit f989140b77
1 changed files with 5 additions and 5 deletions

View File

@ -33,7 +33,7 @@ class ActivityObserver < BaseObserver
target_id: record.id,
target_type: record.class.name,
action: status,
author_id: record.author_id
author_id: current_user
)
end
end