Skip to content

Commit

Permalink
Fix: Added modelTitle to ApiController Generator. Fixes BUG in v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsam726 committed Aug 13, 2020
1 parent 03c8184 commit 22cf284
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Generators/ApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ protected function buildClass() {
'modelBaseName' => $this->modelBaseName,
'modelFullName' => $this->modelFullName,
'modelPlural' => $this->modelPlural,
'modelTitle' => $this->titleSingular,
'modelVariableName' => $this->modelVariableName,
'modelVariableNamePlural' => Str::plural($this->modelVariableName),
'modelRouteAndViewName' => $this->modelRouteAndViewName,
Expand Down

0 comments on commit 22cf284

Please sign in to comment.