mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Migrate Form::open in profile view
This commit is contained in:
parent
5cf314a314
commit
532e6c1c1d
|
@ -10,7 +10,7 @@
|
|||
|
||||
<div class="row">
|
||||
<div class="col-md-9">
|
||||
{{ Form::open(['method' => 'POST', 'files' => true, 'class' => 'form-horizontal', 'autocomplete' => 'off']) }}
|
||||
<form method="POST" action="{{ route('profile.update') }}" accept-charset="UTF-8" class="form-horizontal" autocomplete="off" enctype="multipart/form-data">
|
||||
<!-- CSRF Token -->
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}" />
|
||||
<div class="box box-default">
|
||||
|
|
|
@ -280,7 +280,7 @@ Route::group(['prefix' => 'account', 'middleware' => ['auth']], function () {
|
|||
|
||||
// Profile
|
||||
Route::get('profile', [ProfileController::class, 'getIndex'])->name('profile');
|
||||
Route::post('profile', [ProfileController::class, 'postIndex']);
|
||||
Route::post('profile', [ProfileController::class, 'postIndex'])->name('profile.update');
|
||||
|
||||
Route::get('menu', [ProfileController::class, 'getMenuState'])->name('account.menuprefs');
|
||||
|
||||
|
|
Loading…
Reference in a new issue