feat: add navigation URL method for services in admin panel
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Admin\Clusters;
|
||||
|
||||
use App\Admin\Resources\ServiceResource;
|
||||
use Filament\Clusters\Cluster;
|
||||
|
||||
class Services extends Cluster
|
||||
@@ -15,4 +16,9 @@ class Services extends Cluster
|
||||
protected static ?int $navigationSort = 0;
|
||||
|
||||
protected static ?string $slug = 'services';
|
||||
|
||||
public static function getNavigationUrl(): string
|
||||
{
|
||||
return ServiceResource::getUrl('index');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user