/** * Display a listing of the resource. * * @return Response */ public function index() { $posts = Post::all(); return view('admin.post.index', ['posts' => $posts]); }