change route name to php-sandbox

master 1.0.4
Ondřej Hruška 6 years ago
parent 711a6a7c50
commit cd09053837
  1. 2
      src/routes.php

@ -6,7 +6,7 @@ if (config('php-sandbox.enable', false)) {
'middleware' => config('php-sandbox.route_middleware'), ['web'] 'middleware' => config('php-sandbox.route_middleware'), ['web']
], function () { ], function () {
Route::get(config('php-sandbox.route', 'sandbox'), 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'), Route::post(config('php-sandbox.route', 'sandbox'),
'\MightyPork\PhpSandbox\PhpSandboxController@run'); // ajax '\MightyPork\PhpSandbox\PhpSandboxController@run'); // ajax

Loading…
Cancel
Save