datatable.directory codebase
				https://datatable.directory/
			
			
		
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							24 lines
						
					
					
						
							434 B
						
					
					
				
			
		
		
	
	
							24 lines
						
					
					
						
							434 B
						
					
					
				| <?php
 | |
| 
 | |
| 
 | |
| namespace App\Http\Controllers;
 | |
| 
 | |
| 
 | |
| use App\Models\User;
 | |
| 
 | |
| class UserController extends Controller
 | |
| {
 | |
|     /**
 | |
|      * Show the application dashboard.
 | |
|      *
 | |
|      * @return \Illuminate\Http\Response
 | |
|      */
 | |
|     public function view(User $user)
 | |
|     {
 | |
|         $tables = $user->tables()
 | |
|             ->with('revision:id,row_count')
 | |
|             ->paginate(10);
 | |
| 
 | |
|         return view('user.view')->with(compact('tables', 'user'));
 | |
|     }
 | |
| }
 | |
| 
 |