This commit is contained in:
TheGamecraft
2018-12-03 10:51:24 -05:00
parent f98cd85872
commit 0fddd138bf
7 changed files with 130 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
<?php
use \App\Notifications\sms;
use Illuminate\Support\Facades\Storage;
/*
|--------------------------------------------------------------------------
| Web Routes
@@ -107,11 +108,16 @@ Route::middleware(['auth','staff'])->group(function () {
Route::get('/ecc/inventory/{id}/{niveau}/{periode}' , 'ECCController@booking');
Route::post('/ecc/inventory/add/{id}/{periode}/{niveau}' , 'ECCController@booking_add');
Route::post('/ecc/inventory/remove/{id}/{periode}/{niveau}' , 'ECCController@booking_remove');
Route::get('/ecc/list','ECCController@list');
});
/* Other Route */
Route::get('/test', function () {
$fileContents = "1234";
dd(getStatus());
Storage::put('avatars/1', $fileContents);
return view('test');
});