mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 18:20:48 +01:00
Merge remote-tracking branch 'origin/analysis-MPLVkK'
This commit is contained in:
@@ -11,7 +11,7 @@ class PostsController extends Controller
|
|||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
$posts = Sheets::all()->filter(function ($post) {
|
$posts = Sheets::all()->filter(function ($post) {
|
||||||
return !$post->hidden;
|
return ! $post->hidden;
|
||||||
})->sortByDesc('date');
|
})->sortByDesc('date');
|
||||||
$paginatedPosts = Paginate::collection($posts, 6);
|
$paginatedPosts = Paginate::collection($posts, 6);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user