updates
This commit is contained in:
parent
81143a0fa6
commit
251e502499
2 changed files with 8 additions and 3 deletions
|
|
@ -105,9 +105,12 @@ class UsersController extends Controller
|
|||
|
||||
|
||||
public function index() {
|
||||
error_log("Starting Controller: UsersController.index");
|
||||
|
||||
|
||||
$a=new TimeLogger("UserController::index()");
|
||||
Log::info($a->getStartMessage());
|
||||
//error_log($a->getStartMessage());
|
||||
error_log($a->getStartMessage());
|
||||
|
||||
if (Auth::guest()) { return redirect("/"); }
|
||||
if (!Auth::user()->admin) { return redirect("/"); }
|
||||
|
|
@ -187,7 +190,9 @@ class UsersController extends Controller
|
|||
if ($round) { $firstTippableRound = $round; }
|
||||
|
||||
Log::info($a->getEndMessage());
|
||||
//error_log($a->getEndMessage());
|
||||
error_log($a->getEndMessage());
|
||||
|
||||
error_log($users);
|
||||
|
||||
return view('users.index', compact('users','active_user_count','total_user_count', 'firstTippableRound'));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue