Skip to content

Commit 7aecdba

Browse files
committed
added test route file
1 parent 6c78e67 commit 7aecdba

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

routes/test.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
use Illuminate\Support\Facades\Route;
4+
5+
Route::group(
6+
[
7+
'prefix' => 'test',
8+
],
9+
function () {
10+
// silence is golden
11+
}
12+
);

routes/web.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@
1616
Route::get('/', function () {
1717
return view('welcome');
1818
});
19+
20+
if (app()->isLocal()) {
21+
require __DIR__.'/test.php';
22+
}

0 commit comments

Comments
 (0)