Пример #1
0
 public function StoreAction()
 {
     //Make a log in to header and a log out button
     //echo Session::get('username'),Session::get('password'),Session::get('token'), Session::get('user_id');
     //$test = DB::connection('mongodb')->collection('testTable')->get();
     //dd($test);
     return View('Runningshoes/pages/Home')->with(array('getRandomProducts' => $this->getProducts(Products::randomize($this->limit)), 'Slides' => $this->Slides()));
 }