|
|
@ -59,7 +59,10 @@ class NotificationTransformer extends Fractal\TransformerAbstract
|
|
|
|
'like' => 'favourite',
|
|
|
|
'like' => 'favourite',
|
|
|
|
'comment' => 'comment',
|
|
|
|
'comment' => 'comment',
|
|
|
|
'admin.user.modlog.comment' => 'modlog',
|
|
|
|
'admin.user.modlog.comment' => 'modlog',
|
|
|
|
'tagged' => 'tagged'
|
|
|
|
'tagged' => 'tagged',
|
|
|
|
|
|
|
|
'group:comment' => 'group:comment',
|
|
|
|
|
|
|
|
'story:react' => 'story:react',
|
|
|
|
|
|
|
|
'story:comment' => 'story:comment'
|
|
|
|
];
|
|
|
|
];
|
|
|
|
return $verbs[$verb];
|
|
|
|
return $verbs[$verb];
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -90,7 +93,6 @@ class NotificationTransformer extends Fractal\TransformerAbstract
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public function includeTagged(Notification $notification)
|
|
|
|
public function includeTagged(Notification $notification)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$n = $notification;
|
|
|
|
$n = $notification;
|
|
|
|