Harings Rob
09/19/2022, 8:07 AMmateoD
09/19/2022, 2:01 PMmateoD
09/19/2022, 2:11 PMthingasd
09/20/2022, 4:21 AMkalle
09/20/2022, 7:50 AMthingasd
09/20/2022, 7:52 AMkalle
09/20/2022, 7:54 AMHarings Rob
09/20/2022, 7:57 AMHip-Hop
09/20/2022, 10:57 AMifox
09/20/2022, 11:01 AMzynth
09/20/2022, 2:04 PMHarings Rob
09/20/2022, 2:10 PMzynth
09/20/2022, 2:10 PMHarings Rob
09/20/2022, 2:10 PMzynth
09/20/2022, 2:10 PMzynth
09/20/2022, 2:14 PMHarings Rob
09/20/2022, 2:15 PMHarings Rob
09/20/2022, 2:16 PMzynth
09/20/2022, 2:17 PMzynth
09/20/2022, 2:59 PM$this->model->blocks
in my HomepageRepository I'm getting a empty collection.zynth
09/20/2022, 3:00 PMHarings Rob
09/20/2022, 3:01 PM$this->model->blocks()->get()
zynth
09/20/2022, 3:03 PMHarings Rob
09/20/2022, 3:04 PMHarings Rob
09/20/2022, 3:04 PMzynth
09/20/2022, 3:05 PMHarings Rob
09/20/2022, 3:06 PMHarings Rob
09/20/2022, 3:07 PMphp
Route::get('/blogs/{slug}', static function (string $blogSlug) {
$blog = app(BlogRepository::class)->forSlug($blogSlug);
if (!$blog || !$blog->published()) {
abort(404);
}
return view('site.blog', ['item' => $blog]);
})->name('blog.detail');
This is from the blog examplezynth
09/20/2022, 3:11 PMHarings Rob
09/20/2022, 3:12 PM