Update TimelineController

This commit is contained in:
Daniel Supernault 2018-04-18 23:56:59 -06:00
parent 943f158882
commit 36b0bfb19a

View file

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