atif123
8 months ago
609
6
Laravel

Why my post is not deleting

Posted 8 months ago by atif123
`<td><a href = "{{route('channel.destroy',$channel->id)}}" class = "btn btn-danger">Delete</a></td>`

controller
 Channel::destroy($id);

Please sign in or create an account to participate in this conversation.