mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update TimelineController
This commit is contained in:
parent
943f158882
commit
36b0bfb19a
1 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use App\{Status, User};
|
||||
|
||||
class TimelineController extends Controller
|
||||
{
|
||||
|
@ -13,6 +14,7 @@ class TimelineController extends Controller
|
|||
|
||||
public function personal()
|
||||
{
|
||||
return view('timeline.personal');
|
||||
$timeline = Status::orderBy('id','desc')->paginate(10);
|
||||
return view('timeline.personal', compact('timeline'));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue