Support the ongoing development of Laravel.io →

jsertx

Joined 28 Sep 2015

Statistics

Threads 1
Replies 1
Solutions 1
Articles 0

Relationship cant access recently created model

Hello, I have this scenario: Route::group([ 'middleware' => ['reservation'], 'prefix' =&g...

0 Likes
1 Replies
Solved
replied 9 years ago

Relationship cant access recently created model

I solved it by calling the visitor relation as function: Visitor::get()->reservation()->someMe...

0 Likes
Solved

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.