Global Search Title - App\Filament\Admin\Resources\Model is not available

I am trying to alter the global search title and also the URL for my 'BookingResource'. I have followed the documentation and other tutorials online. However I cannot work out what I am doing wrong! I have attached 2 images, one of my code and one of the error. It doesn't seem to be able to find the 'Model $record' parameters. I am not sure what I am doing wrong - I am sure it is simple. Any advice would be greatly appreciated. Thank you!
No description
No description
Solution:
import the Model use Illuminate\Database\Eloquent\Model;...
Jump to solution
3 Replies
Solution
Lara Zeus
Lara Zeusβ€’4mo ago
import the Model use Illuminate\Database\Eloquent\Model;
Dennis Koch
Dennis Kochβ€’4mo ago
You see those squiggly lines? This is you editor yelling at you that something is wrong πŸ˜…
No description
Nathan @ NCM-Digital
Nathan @ NCM-DigitalOPβ€’4mo ago
Yeah I could not work out what I need to import or what I was doing wrong, i tried loads of things im definately still half asleep this morning πŸ˜‚ Thank you! So simple....I think I am still half asleep this morning!!! πŸ˜‚
Want results from more Discord servers?
Add your server