Support the ongoing development of Laravel.io →
Requests Eloquent Views
Last updated 2 years ago.
0
return Property::make('property.view')
        ->with('property', $property)
        ->get();

should be

return View::make('property.view')
        ->with('property', $property)

also delete '->get()' in index() method

return View::make('property.view')
        ->with('property', $property)
            ->get();
Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

xitude xitude Joined 9 Jan 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.