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!
3 Replies
Solution
import the Model
use Illuminate\Database\Eloquent\Model;
You see those squiggly lines? This is you editor yelling at you that something is wrong π
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!!! π