You could use Route::bind(). Route::bind('id', function($id) { return Post::with('media', 'user'...
What's the schema and what's the error? From a glance.. Why do you have post_id and comment_id in th...
Did you cleared the cookies and regenerated the password for the user in db after changed the key? E...
Laravel cheats because html forms only support GET and POST, but it does understand a real PUT/PATCH...
setToStringFormat() works here for all model dates, default or custom. Not sure what goes wrong on y...
The Laravel portal for problem solving, knowledge sharing and community building.