moinescumihai said:
try using
Auth::user()->posts()->where('id', '=', $id)->get();
No bro, My
Auth::user()->posts()->findOrFail($id);
is working perfectly, but how to bind it with my route? Look at my first Code line
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community