Closed shalawani closed 5 years ago
Hi @shalawani,
Why set the model to an empty string? Is there an issue if $model
is declared and defaults to null
?
Thanks!
Hi @Nyratas Yes there is an issue when integrating laravel-auditing with your package
@shalawani that's what I understood from your first message. To be more precise, my question would be:
Is there still a problem with the integration of laravel-auditing if you set $model
to null
, as shown in this example:
public static $model;
Instead of declaring it as an empty string as you did:
public static $model = '';
?
I think the issue was from another thing.
I tested it now without my change and it works ok, Sorry for wasting your time.
I'm glad you found a solution to your problem. Thanks for using NovaPage! ;)
According to integrate laravel-auditing we should have $model property defined on the resource