app/Http/Controllers/PostsController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $posts = POST::paginate(3);
        return view('blog_theme.pages.home', compact( 'posts'));
    }
public function index ( ) { $ posts = POST :: paginate ( 3 ) ; return view ( 'blog_theme.pages.home' , compact ( 'posts' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .