[#345] fix activity concern
This commit is contained in:
parent
7250b1ae81
commit
f05f0e1d72
|
@ -8,10 +8,9 @@ module Feed::User
|
|||
private
|
||||
|
||||
def new_user_notification
|
||||
ActivityFeed.create(
|
||||
user: self,
|
||||
activity_feeds.create(
|
||||
kind: 'new_user_notification',
|
||||
data: {user_name: self.user_appeal, user_email: self.email}
|
||||
data: { user_name: user_appeal, user_email: email }
|
||||
)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue