app/Http/Controllers/ProjectController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Models\Post  $post
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(Post $post)
    {
        $post->delete();
        return redirect()->route('posts.index')->with('success', 'Project Deleted');
    }
public function destroy ( Post $ post ) { $ post -> delete ( ) ; return redirect ( ) -> route ( 'posts.index' ) -> with ( 'success' , 'Project Deleted' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .
//