Fixed error 404
This commit is contained in:
parent
44221cf5eb
commit
058c7ccfdf
|
@ -153,7 +153,7 @@ public function SendTestMail(Request $request)
|
|||
|
||||
User::where('id', $id)->update(['block' => $block]);
|
||||
|
||||
return redirect('panel/users/all');
|
||||
return redirect('admin/users/all');
|
||||
}
|
||||
|
||||
//Verify or un-verify users emails
|
||||
|
@ -170,7 +170,7 @@ public function SendTestMail(Request $request)
|
|||
|
||||
User::where('id', $id)->update(['email_verified_at' => $verify]);
|
||||
|
||||
return redirect('panel/users/all');
|
||||
return redirect('admin/users/all');
|
||||
}
|
||||
|
||||
//Create new user from the Admin Panel
|
||||
|
@ -200,7 +200,7 @@ public function SendTestMail(Request $request)
|
|||
'block' => 'no',
|
||||
]);
|
||||
|
||||
return redirect('panel/edit-user/' . $user->id);
|
||||
return redirect('admin/edit-user/' . $user->id);
|
||||
}
|
||||
|
||||
//Delete existing user
|
||||
|
@ -214,7 +214,7 @@ public function SendTestMail(Request $request)
|
|||
$user->forceDelete();
|
||||
Schema::enableForeignKeyConstraints();
|
||||
|
||||
return redirect('panel/users/all');
|
||||
return redirect('admin/users/all');
|
||||
}
|
||||
|
||||
//Show user to edit
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
</div>
|
||||
</form>
|
||||
Users:
|
||||
<a href="{{ url('') }}/panel/users/all">All</a> -
|
||||
<a href="{{ url('') }}/panel/users/user">User</a> -
|
||||
<a href="{{ url('') }}/panel/users/vip">Vip</a> -
|
||||
<a href="{{ url('') }}/panel/users/admin">Admin</a>
|
||||
<a href="{{ url('') }}/admin/users/all">All</a> -
|
||||
<a href="{{ url('') }}/admin/users/user">User</a> -
|
||||
<a href="{{ url('') }}/admin/users/vip">Vip</a> -
|
||||
<a href="{{ url('') }}/admin/users/admin">Admin</a>
|
||||
|
||||
<div class="row"><div class="table-responsive">
|
||||
<table class="table table-stripped">
|
||||
|
@ -134,7 +134,7 @@
|
|||
</tbody>
|
||||
</table>
|
||||
</div></div></div>
|
||||
<a href="{{ url('') }}/panel/new-user">+ Add new user</a>
|
||||
<a href="{{ url('') }}/admin/new-user">+ Add new user</a>
|
||||
|
||||
<script type="text/javascript">
|
||||
var elems = document.getElementsByClassName('confirmation');
|
||||
|
|
Loading…
Reference in New Issue