added php sandbox and some helper funcs to models

This commit is contained in:
2018-07-14 15:22:10 +02:00
parent 8efa08b1cc
commit 66afe052b9
16 changed files with 4764 additions and 4 deletions
+6
View File
@@ -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');