mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 16:23:16 +00:00
20 lines
388 B
PHP
20 lines
388 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use Illuminate\Http\Request;
|
|
use App\{Status, User};
|
|
|
|
class TimelineController extends Controller
|
|
{
|
|
public function __construct()
|
|
{
|
|
$this->middleware('auth');
|
|
}
|
|
|
|
public function personal()
|
|
{
|
|
$timeline = Status::orderBy('id','desc')->paginate(10);
|
|
return view('timeline.personal', compact('timeline'));
|
|
}
|
|
}
|