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