you are just send one argument, but on the controller you ara tring to get to arguments
@davicfg, I change like this : {!! Form::open(['route' => ['users.destroy', $user->id, $year], 'method' => 'delete']) !!}
. When I click button delete, the url looks like this : http://localhost/mysystem/public/users/2?2026. So, it's not working
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community