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

You can do

return View::make('index', array(
    'foo' => Images::indexPageMr(),
    'bar' => Images::indexPageTL()
));

But if there is a relation between the two, you can read more about relationships here: http://laravel.com/docs/4.2/eloquent#relationships

so you can query their relationship from one to another

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Panoply panoply Joined 27 Mar 2014

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.