Support the ongoing development of Laravel.io →
posted 7 years ago
Requests
Last updated 2 years ago.
0

That is what you get when the link for the route is wrong. You have

<a href="{{ route('admin.blog.post.edit', ['post_id => $post_id']) }}">Edit</a>

and it needs to be

<a href="{{ route('admin.blog.post.edit', ['post_id' => $post_id]) }}">Edit</a>

small differences and easy to miss

0

Thanks for the tip my bad :)

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.