public dash and view counting

This commit is contained in:
2018-07-29 11:52:29 +02:00
parent f77b1789fa
commit a79b5ae7d8
37 changed files with 415 additions and 663 deletions
+1 -4
View File
@@ -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'));
}