Skip to content

Commit

Permalink
Merge pull request #78 from aw-studio/fix/reference-download
Browse files Browse the repository at this point in the history
Update DownloadReferencePdfAction.php
  • Loading branch information
jannescb authored Dec 8, 2023
2 parents c853539 + 75d3b8c commit 4dcce95
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lit/app/Actions/DownloadReferencePdfAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ public function run(Collection $models)
$query->where('slug', $slug)->where('locale', app()->getLocale());
})->with('translations')->first();

dd($models->first()->title);

$pdf = Pdf::loadView('reference_pdf', ['reference'=>$reference]);
$pdfFilename = 'alle-wetter-referenz-'.$slug.'.pdf';

Expand Down

0 comments on commit 4dcce95

Please sign in to comment.