change route name to php-sandbox
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user