* Sanctum removed * Unused middleware classes removed * Changed default email - Seeder * Models updated * Config .env is now smaller * Not used, so not used - Providers * Clearing your router of comments
		
			
				
	
	
		
			20 lines
		
	
	
		
			470 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			470 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| declare(strict_types=1);
 | |
| 
 | |
| use Illuminate\Support\Facades\Route;
 | |
| 
 | |
| Route::get('ping', function () {
 | |
|     return ['message' => 'pong'];
 | |
| });
 | |
| 
 | |
| Route::get('categories', 'CategoryController@index');
 | |
| Route::prefix('category')->group(function() {
 | |
|     Route::get('{category}', 'CategoryController@showWhereSlug');
 | |
| });
 | |
| 
 | |
| Route::get('projects', 'ProjectController@index');
 | |
| Route::prefix('project')->group(function() {
 | |
|     Route::get('{project}', 'ProjectController@show');
 | |
| });
 |