Description
Bug report
What I did
- Set paths.crud_controllers config param to 'app_path('Http/Controllers')' in config/backpack/devtools.php
- Create new model with CRUD controller
What I expected to happen
I expected NewCrudController.php to be created in the folder 'Http/Controllers', but the folder was 'Http/Controllers/Admin'.
What I've already tried to fix it
I searched the backpack config files and traces of presence 'Admin' in 'vendor/backpack' folder.
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version
the output is:
PHP VERSION:
PHP 8.2.4 (cli) (built: Apr 3 2023 12:58:01) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.4, Copyright (c) Zend Technologies
with Xdebug v3.2.1, Copyright (c) 2002-2023, by Derick Rethans
with Zend OPcache v8.2.4, Copyright (c), by Zend Technologies
LARAVEL VERSION:
v9.52.5@e14d28c0f9403630d13f308bb43f3d3cb73d6d67
BACKPACK PACKAGE VERSIONS:
backpack/crud: 5.5.7
backpack/devtools: 1.3.5
backpack/generators: 3.3.16
backpack/langfilemanager: 4.1.0
backpack/logmanager: v4.0.10
backpack/permissionmanager: 6.0.16
backpack/pro: 1.6.4
backpack/settings: 3.0.16
Operating System and Server Setup
I encountered the problem above on my [Mac OS] machine, and my web server is set up using [nginx + MySQL5.7 + php8.2.4].
Metadata
Metadata
Assignees
Type
Projects
Status