mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-11-04 16:56:51 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			680 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			680 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace App\Filament\Resources;
 | 
						|
 | 
						|
use App\Filament\Resources\MountResource\Pages;
 | 
						|
use App\Models\Mount;
 | 
						|
use Filament\Resources\Resource;
 | 
						|
 | 
						|
class MountResource extends Resource
 | 
						|
{
 | 
						|
    protected static ?string $model = Mount::class;
 | 
						|
 | 
						|
    protected static ?string $navigationIcon = 'tabler-layers-linked';
 | 
						|
 | 
						|
    public static function getRelations(): array
 | 
						|
    {
 | 
						|
        return [
 | 
						|
            //
 | 
						|
        ];
 | 
						|
    }
 | 
						|
 | 
						|
    public static function getPages(): array
 | 
						|
    {
 | 
						|
        return [
 | 
						|
            'index' => Pages\ListMounts::route('/'),
 | 
						|
            'create' => Pages\CreateMount::route('/create'),
 | 
						|
            'edit' => Pages\EditMount::route('/{record}/edit'),
 | 
						|
        ];
 | 
						|
    }
 | 
						|
}
 |