modified comments for web routes.

added new user modify button but no controls behind it yet.
This commit is contained in:
2019-05-21 23:52:24 -05:00
parent 1aff8da252
commit 85d1c30e81
7 changed files with 53 additions and 721 deletions

View File

@@ -132,7 +132,15 @@ class AdminController extends Controller
->with('pigross', $pigross);
}
public function modifyRole(Request $request) {
public function displayModifyUser($name) {
//Get the user information from the name
$user = User::where(['name' => $name])->get()->toArray();
//Pass the user information to the page for hidden text entries
return view('admin.user.modify')->with('user', $user);
}
public function modifyUser(Request $request) {
return redirect('/admin/dashboard')->with('error', 'Not implemented yet.');
}