Skip to content

Commit 3a85087

Browse files
committed
Add methods copy to call events
1 parent eac7356 commit 3a85087

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

routes/web.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,14 +157,17 @@
157157

158158
return view('welcome', compact('buttonGroups'));
159159
});
160-
161-
162160
Route::post('/_profiler', \App\Http\Controllers\CallAction::class)->middleware(
163161
\App\Http\Middleware\ProfilerMiddleware::class,
164162
);
165163

166164
Route::post('/', \App\Http\Controllers\CallAction::class);
167165

166+
Route::post('/example/call', \App\Http\Controllers\CallAction::class);
167+
Route::post('/example/call/profiler', \App\Http\Controllers\CallAction::class)->middleware(
168+
\App\Http\Middleware\ProfilerMiddleware::class,
169+
);
170+
168171
Route::middleware(\Inspector\Laravel\Middleware\WebRequestMonitoring::class)
169172
->get('/inspector', function () {
170173
\Illuminate\Support\Facades\Artisan::call('migrate:fresh', ['--force' => true]);

0 commit comments

Comments
 (0)