Ben T
Ben T
Thanks @Sgtpsyco23 that works! Just to be clear. The construct method needs to be added to the app\Repositories\Backend\ExampleRepository.php file
Taking the fix one step further: modify the file below file > vendor\pqrs\l5b-crud\src\Console\Commands\Stubs\make-repository.stub and add the construct method to it so it now looks like: ``` class DummyRepository extends BaseRepository...
Can someone explain why previously loading the model in construct was not needed?
Something else to consider is to rename / refactor this to l6crud to reflect the changes or something more generic?
Here goes the next hurdle! When you try to create a new entry it comes up with below error as the create method does not exist in the base BaseRepository...
> > > I've created a pull request that should enable support for the Laravel 6 version of Boilerplate: > > #16 So far looking good. Thanks!
> Afterwords it worked. Any ideas ? Refer to my post above. In short you need laravel/helpers due to changes in Laravel 6 composer require laravel/helpers
> > > > Here goes the next hurdle! > > When you try to create a new entry it comes up with below error as the create method does...
It is likely by design.