示例#1
0
 /**
  * Show the home page
  *
  * @return \Illuminate\View\View
  */
 public function home(Request $request)
 {
     $visitor = new Visitor();
     $visitor->ip = $request->ip();
     $visitor->storeIPAddress();
     return response()->view('home');
 }