Support the ongoing development of Laravel.io →
Views Forms
Last updated 2 years ago.
0

you should route the Post as well for the same link

Route::post('home/image/{img_id}', 'ImageController@index');

and change @index to the method you want

Last updated 9 years ago.
0

Thanks, it worked.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

kristapsx kristapsx Joined 29 Jun 2015

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.