web.php

mail@pastecode.io avatar
unknown
php
2 years ago
337 B
1
Indexable
Never
Route::get('/list-apis', function () {
        // dd(DB::table('list_apis')->paginate());
        return view('list_apis', [
            'title' => 'List APIs',
            'data' => DB::table('list_apis')->paginate(5),
            'user' => DB::table('users')->where('id', Auth::user()->getAuthIdentifier())->first()
        ]);
    });