mirror of
https://github.com/jez500/pricebuddy.git
synced 2026-11-24 19:58:13 +01:00
20 lines
307 B
PHP
Executable File
20 lines
307 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Filament\Actions;
|
|
|
|
use App\Enums\Icons;
|
|
|
|
class CreateAction extends BaseAction
|
|
{
|
|
protected function setUp(): void
|
|
{
|
|
parent::setUp();
|
|
|
|
$this->icon(Icons::Add->value);
|
|
|
|
if ($this->resourceName) {
|
|
$this->resourceUrl('create');
|
|
}
|
|
}
|
|
}
|