File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 1515    Route::get ('settings/password ' , [PasswordController::class, 'edit ' ])->name ('password.edit ' );
1616    Route::put ('settings/password ' , [PasswordController::class, 'update ' ])->name ('password.update ' );
1717
18-     Route::get ('settings/appearance ' , function  () {
19-         return  Inertia::render ('settings/appearance ' );
20-     })->name ('appearance ' );
18+     Route::get ('settings/appearance ' , fn  () => Inertia::render ('settings/appearance ' ))->name ('appearance ' );
2119});
Original file line number Diff line number Diff line change 33use  Illuminate \Support \Facades \Route ;
44use  Inertia \Inertia ;
55
6- Route::get ('/ ' , function  () {
7-     return  Inertia::render ('welcome ' );
8- })->name ('home ' );
6+ Route::get ('/ ' , fn  () => Inertia::render ('welcome ' ))->name ('home ' );
97
108Route::middleware (['auth ' , 'verified ' ])->group (function  () {
11-     Route::get ('dashboard ' , function  () {
12-         return  Inertia::render ('dashboard ' );
13-     })->name ('dashboard ' );
9+     Route::get ('dashboard ' , fn  () => Inertia::render ('dashboard ' ))->name ('dashboard ' );
1410});
1511
1612require  __DIR__ .'/settings.php ' ;
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments