public dash and view counting
This commit is contained in:
@@ -18,10 +18,7 @@ class ProfileController extends Controller
|
||||
*/
|
||||
public function view(User $user)
|
||||
{
|
||||
$tables = $user->tables()
|
||||
->with('revision:id,row_count')
|
||||
->orderByDesc('updated_at')
|
||||
->paginate(10);
|
||||
$tables = $user->tables()->forList()->orderByDesc('updated_at')->paginate(10);
|
||||
|
||||
return view('profile.view')->with(compact('tables', 'user'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user