function logThis($message, $level = 'info') { Galog::create(['message' => $message, 'level' => $level]); }
/** * Show the application dashboard. * * @return \Illuminate\Http\Response */ public function index() { return Galog::latest()->paginate(25); }
/** * Show the application dashboard. * * @return \Illuminate\Http\Response */ public function index() { $users = User::all(); $galogs = Galog::latest()->get(); return view('admin.index')->with('users', $users)->with('galogs', $galogs); }