diff --git a/src/routes.php b/src/routes.php index 38ef45c..d8582c2 100644 --- a/src/routes.php +++ b/src/routes.php @@ -6,7 +6,7 @@ if (config('php-sandbox.enable', false)) { 'middleware' => config('php-sandbox.route_middleware'), ['web'] ], function () { Route::get(config('php-sandbox.route', 'sandbox'), - '\MightyPork\PhpSandbox\PhpSandboxController@index')->name('sandbox'); + '\MightyPork\PhpSandbox\PhpSandboxController@index')->name('php-sandbox'); Route::post(config('php-sandbox.route', 'sandbox'), '\MightyPork\PhpSandbox\PhpSandboxController@run'); // ajax