app/Http/Controllers/WelcomeController.php
/**
	 * Show the application welcome screen to the user.
	 *
	 * @return Response
	 */
Show the application welcome screen to the user.
@return Response
Show the application welcome screen to the user . @return Response
public function index()
	{
		$product = DB::table('products')->select('*')->orderBy('id','DESC')->skip(0)->take(4)->get();
		return view('user.pages.home',compact('product'));
	}
public function index ( ) { $ product = DB :: table ( 'products' ) -> select ( '*' ) -> orderBy ( 'id' , 'DESC' ) -> skip ( 0 ) -> take ( 4 ) -> get ( ) ; return view ( 'user.pages.home' , compact ( 'product' ) ) ; }
Show the application welcome screen to the user.
Show the application welcome screen to the user .