[#345] fix activity concern

This commit is contained in:
Alexander Machehin 2014-03-11 19:44:30 +06:00
parent 7250b1ae81
commit f05f0e1d72
1 changed files with 2 additions and 3 deletions

View File

@ -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