Skip to content

Commit

Permalink
Controller command fixed;
Browse files Browse the repository at this point in the history
  • Loading branch information
hans-thomas committed May 1, 2023
1 parent f247921 commit 80939e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ public function handle() {
}

if ( $this->option( "requests" ) ) {
Artisan::call( "valravn:requests $singular --namespace $namespace --v $version" );
Artisan::call( "valravn:requests $namespace $singular --v $version" );
}

if ( $this->option( "resources" ) ) {
Artisan::call( "valravn:resources $singular --namespace $namespace --v $version" );
Artisan::call( "valravn:resources $namespace $singular --v $version" );
}

$this->info( "controller classes successfully created!" );
Expand Down

0 comments on commit 80939e2

Please sign in to comment.