Support the ongoing development of Laravel.io →
Database Blade Installation
Last updated 2 years ago.
0

This has been cross posted on laracasts where an answer has been given...

0

i suggest,

instead of

<button type="button" class="btn btn-primary btn-lg btn-block">More Info </button>

use <a> tag

<a href="{{ route('classified.show', $row->id) }}">More Info</a>

note: if you used Resource Controller for Classfied, you will have a route 'product.show' then you passed the cassified or listing ID ( $row->id ) to the second argument so that you can get the info to your next page or route.

hope it helps. sorry for the english

0

Sign in to participate in this thread!

Eventy

Your banner here too?

SimonT26 simont26 Joined 6 Nov 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.