Compare commits

..

No commits in common. "6f6dbdefad57590ecd24a0c7d5179f7ba656a3d2" and "686896e9cf9beb9f3aadff50c0275be73d9d177c" have entirely different histories.

3 changed files with 1 additions and 16 deletions

1
.gitignore vendored
View File

@ -1,7 +1,6 @@
/.phpunit.cache /.phpunit.cache
/node_modules /node_modules
/public/build /public/build
/public/uploads
/public/hot /public/hot
/public/storage /public/storage
/storage/*.key /storage/*.key

View File

@ -2,8 +2,7 @@
<meta name="csrf-param" content="_token" /> <meta name="csrf-param" content="_token" />
@vite(['resources/css/app.css', 'resources/js/app.js']) @vite(['resources/css/app.css', 'resources/js/app.js'])
<h2>список пользователей</h2> <h2>список пользователей</h2>
<br>
<br>
<a href="{{ route('users.create') }}"> создать пользователя</a> <a href="{{ route('users.create') }}"> создать пользователя</a>
<br> <br>
<br> <br>
@ -32,11 +31,3 @@
@endforeach @endforeach
</tbody> </tbody>
</table> </table>
<br>
<br>
{{ Form::open(array('url' => route('uploadfile'), 'method' => 'POST', 'files'=>'true')) }}
Select the file to upload.
{{ Form::file('image') }}
{{ Form::submit('Upload File')}}
{{Form::close()}}

View File

@ -1,7 +1,6 @@
<?php <?php
use App\Http\Controllers\ProfileController; use App\Http\Controllers\ProfileController;
use App\Http\Controllers\UploadFileController;
use App\Http\Controllers\UserController; use App\Http\Controllers\UserController;
use Illuminate\Support\Facades\Route; use Illuminate\Support\Facades\Route;
@ -30,10 +29,6 @@ Route::get('/course', function () {
}); });
Route::get('/abitur', function () { Route::get('/abitur', function () {
return view('pages.abitur'); return view('pages.abitur');
Route::post('/uploadfile', [UploadFileController::class, 'showUploadFile'])->name('uploadfile');
Route::get('/test', function () {
return view('test');
}); });