You're on the right track, what you need to do is pass {{ $post->id }} to your view, and then the following code in the form.
{{ Form::hidden('post_id', $post->id) }}
Smally1997 said:
You're on the right track, what you need to do is pass {{ $post->id }} to your view, and then the following code in the form.
{{ Form::hidden('post_id', $post->id) }}
Man you are fantastic! Thank you so much :)
If you could mark this topic as solved, it makes sure that other people don't reply, and makes it easier for those searching for the same solution.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community