Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit 45ba9e2

Browse files
committed
Update artisan command create:routes -> route:tojs
1 parent b7e6be7 commit 45ba9e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Console/CreateJSRoutesCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class CreateJSRoutesCommand extends Command
1212
*
1313
* @var string
1414
*/
15-
protected $signature = "create:routes
15+
protected $signature = "route:tojs
1616
{ --name=routes.js : Name of the output file. }
1717
{ --p|path= : Path of the output file. }
1818
{ --i|ignore=telescope : List of comma separated route names to ignore (override methods). }

tests/CreateJSRoutesCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected function getEnvironmentSetUp($app)
5454

5555
public function test_can_create_file()
5656
{
57-
$command = "create:routes -p ./ -m GET,PATCH";
57+
$command = "route:tojs -p ./ -m GET,PATCH";
5858
$result = "routes.js created";
5959

6060
if (file_exists(realpath("./routes.js"))) {

0 commit comments

Comments
 (0)