Had this error in the logs..
{
"message": "Route [websites.show] not defined. (View: /var/task/resources/views/mail/dns-changed.blade.php)",
"context": {
"exception": {
"class": "ErrorException",
"message": "Route [websites.show] not defined. (View: /var/task/resources/views/mail/dns-changed.blade.php)",
"code": 0,
"file": "/var/task/vendor/laravel/framework/src/Illuminate/Routing/UrlGenerator.php:420",
"previous": {
"class": "Symfony\\Component\\Routing\\Exception\\RouteNotFoundException",
"message": "Route [websites.show] not defined.",
"code": 0,
"file": "/var/task/vendor/laravel/framework/src/Illuminate/Routing/UrlGenerator.php:420"
}
},
"aws_request_id": "xxx"
},
"level": 400,
"level_name": "ERROR",
"channel": "staging",
"datetime": "2020-09-03T04:00:41.893408+01:00",
"extra": {}
}
/**
* @return string
*/
public function getShowLinkAttribute()
{
return route('websites.show', $this->id);
}