Update all email notifications

This commit is contained in:
James Brooks
2017-01-04 20:25:41 +00:00
parent a7f06b5dc7
commit 38773c84ac
4 changed files with 8 additions and 11 deletions
@@ -77,7 +77,8 @@ class NewScheduleNotification extends Notification
->subject(trans('notifications.schedule.new.subject'))
->greeting(trans('notifications.schedule.new.title'))
->line($content)
->action('View Component', $this->schedule->link);
->action('View Schedule', cachet_route('schedule', [$this->schedule]))
->line(trans('cachet.subscriber.unsubscribe', ['link' => cachet_route('subscribe.unsubscribe', $notifiable->verify_code)]));
}
/**