Skip to content

fix: php artisan route:cache error#164

Open
jayeeliu wants to merge 2 commits intokrayin:masterfrom
jayeeliu:master
Open

fix: php artisan route:cache error#164
jayeeliu wants to merge 2 commits intokrayin:masterfrom
jayeeliu:master

Conversation

@jayeeliu
Copy link

After installing rest-api in laravel-crm, an error will be reported when executing php artisan route:cache:

Unable to prepare route [admin/leads/kanban/look-up] for serialization. Another route has already been assigned name [admin.leads.kanban.look_up]`

This is because the same route name admin.leads.kanban.look_up is used in rest-api and laravel-crm. So remove the route name in rest-api.

GET|HEAD admin/leads/kanban/look-up ............admin.leads.kanban.look_up › Webkul\Admin\Http\Controllers\Lead\LeadController@kanbanLookup
GET|HEAD api/v1/leads/kanban/look-up ...........admin.leads.kanban.look_up › Webkul\RestApi › LeadController@kanbanLookup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant