app/Http/Controllers/Admin/HomeController.php
/**
     * Show the application dashboard.
     *
     * @return \Illuminate\Contracts\Support\Renderable
     */
Show the application dashboard.
@return \Illuminate\Contracts\Support\Renderable
Show the application dashboard . @return \ Illuminate \ Contracts \ Support \ Renderable
public function index()
    {
        $posts = Post::paginate(12);
        return view('admin.home', compact('posts'));
    }
public function index ( ) { $ posts = Post :: paginate ( 12 ) ; return view ( 'admin.home' , compact ( 'posts' ) ) ; }
Show the application dashboard.
Show the application dashboard .