added a distinct name to the route
This commit is contained in:
parent
3e773b1386
commit
b33bb0defa
|
|
@ -54,7 +54,7 @@ public function content(): Content
|
|||
'subject' => $this->mailing->subject,
|
||||
'mailing' => $this->mailing,
|
||||
'reportUrl' => route(
|
||||
'project.report.download',
|
||||
'project.report.download_with_token',
|
||||
$this->mailing->report->token
|
||||
),
|
||||
],
|
||||
|
|
|
|||
|
|
@ -41,4 +41,4 @@
|
|||
return response()->download(Storage::path($path));
|
||||
}
|
||||
return abort(404);
|
||||
})->name('project.report.download');
|
||||
})->name('project.report.download_with_token');
|
||||
|
|
|
|||
Loading…
Reference in a new issue