Add unsub links to all Slack notifications

This commit is contained in:
James Brooks
2017-01-03 19:23:44 +00:00
parent 51864f3897
commit 6dc56de18a
3 changed files with 6 additions and 3 deletions

View File

@@ -143,7 +143,8 @@ class IncidentUpdatedNotification extends Notification
->fields(array_filter([
'ID' => "#{$this->update->id}",
'Link' => $this->update->permalink,
]));
]))
->footer(trans('cachet.subscriber.unsubscribe', ['link' => cachet_route('subscribe.unsubscribe', $notifiable->verify_code)]));;
});
}
}