Randy_Johnson
3 months ago
134
1
General

Blade URL with varaible

Posted 3 months ago by Randy_Johnson

Hi, the first url isn't working correctly. But the second one does, I am just asking what is the correct way to do this because the first looks clean and the second, not so...

{{ url('delete-user/{{$user->id}}') }}

{{ url('delete-user/') }}/{{ $user->id }}

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