1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-26 01:36:43 +00:00
pixelfed/app/Http/Controllers/TimelineController.php
2018-04-18 23:56:59 -06:00

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'));
}
}