Skip to content

Commit

Permalink
Update ContainerWebGenerator.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Alavi committed Mar 3, 2025
1 parent a15ad9a commit d5743b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Generator/Commands/ContainerWebGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,18 +137,18 @@ public function getUserInputs(): array|null
'controller' => 'Find' . $model . 'ByIdController',
],
[
'stub' => 'Create',
'stub' => 'Store',
'name' => 'Store' . $model,
'operation' => 'store',
'verb' => 'POST',
'url' => $url . '/store',
'action' => 'Create' . $model . 'Action',
'request' => 'Store' . $model . 'Request',
'task' => 'Create' . $model . 'Task',
'controller' => 'Create' . $model . 'Controller',
'controller' => 'Store' . $model . 'Controller',
],
[
'stub' => 'Store',
'stub' => 'Create',
'name' => 'Create' . $model,
'operation' => 'create',
'verb' => 'GET',
Expand Down Expand Up @@ -178,7 +178,7 @@ public function getUserInputs(): array|null
'action' => null,
'request' => 'Edit' . $model . 'Request',
'task' => null,
'controller' => 'Update' . $model . 'Controller',
'controller' => 'Edit' . $model . 'Controller',
],
[
'stub' => 'Delete',
Expand Down

0 comments on commit d5743b7

Please sign in to comment.