Skip to content

Commit

Permalink
Fix routes for Laravel 8 #172
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeAlhayek committed Oct 16, 2021
1 parent 75a8792 commit 648cbb3
Show file tree
Hide file tree
Showing 14 changed files with 109 additions and 1,726 deletions.
10 changes: 7 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"name": "crestapps/laravel-code-generator",
"license": "MIT",
"description": "An intelligent code generator for Laravel framework that will save you time! This awesome tool will help you generate resources like views, controllers, routes, migrations, languages and/or form-requests! It is extremely flexible and customizable to cover many on the use cases. It is shipped with cross-browsers compatible template, along with a client-side validation to modernize your application.",
"version": "v2.4.4",
"version": "v2.4.5",
"keywords": [
"laravel","crud","crud generator",
"laravel crud generator","laravel crud builder",
"crud builder","views creator","routes creator",
"controller creator","code generator","generators","generator",
"code generator", "laravel crud","laravel code generator",
"laravel-code-generator","code-generator","CrestApps",
"Alhayek", "Mike CallCompleterFullNameAlhayek","Majd Alhayek"
"Alhayek", "Mike Alhayek","Majd Alhayek"
],
"authors": [
{
Expand All @@ -29,7 +29,11 @@
},
"autoload": {
"psr-4": {
"CrestApps\\CodeGenerator\\": "src/",
"CrestApps\\CodeGenerator\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"CrestApps\\CodeGenerator\\Tests\\": "tests/"
}
},
Expand Down
Loading

1 comment on commit 648cbb3

@knkhayam
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an error in the following files:
templates/default-collective/routes-8.stub
templates/default/routes-8.stub

for both files, on line#13, the controller's function name should be destroy instead of index. This is causing a bug in the delete function. the entry cannot be deleted.

Please sign in to comment.