change route name to php-sandbox

This commit is contained in:
2018-07-16 17:29:11 +02:00
parent 711a6a7c50
commit cd09053837
+1 -1
View File
@@ -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