Ejemplo n.º 1
0
function logThis($message, $level = 'info')
{
    Galog::create(['message' => $message, 'level' => $level]);
}
Ejemplo n.º 2
0
 /**
  * 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);
 }