atif123
1 month ago
194
6
Laravel

Why my post is not deleting

Posted 1 month 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.