Skip to content

Commit

Permalink
Revert "temp"
Browse files Browse the repository at this point in the history
This reverts commit b3f9cf1.
  • Loading branch information
SethSharp committed Oct 14, 2024
1 parent b3f9cf1 commit 9378f98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Http/Controllers/Views/ShowHomeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use Illuminate\View\View;
use App\Http\EnvironmentEnum;
use App\Http\Controllers\Controller;
use SethSharp\BlogCrud\Models\Blog\Blog;

class ShowHomeController extends Controller
{
Expand All @@ -17,7 +18,7 @@ public function __invoke(): View
}

return view($path, [
'blogs' => [] //Blog::published()->orderByDesc('published_at')->take(3)->get()
'blogs' => Blog::published()->orderByDesc('published_at')->take(3)->get()
]);
}
}

0 comments on commit 9378f98

Please sign in to comment.