added php sandbox and some helper funcs to models
This commit is contained in:
@@ -16,6 +16,12 @@ use SocialNorm\ProviderUser;
|
||||
|
||||
Auth::routes();
|
||||
|
||||
// sandbox
|
||||
if (config('php-sandbox.enable')) {
|
||||
Route::get('sandbox', 'SandboxController@index')->name('sandbox');
|
||||
Route::post('sandbox', 'SandboxController@run'); // ajax
|
||||
}
|
||||
|
||||
|
||||
Route::get('/about/terms', function () {
|
||||
return view('terms');
|
||||
|
||||
Reference in New Issue
Block a user