Код: Выделить всё
public function update(Request $request, Booking $booking)
{
if($booking->owner->user_id === Auth::user()->user_id)
{
// Continue to update
}
}
Вопрос
, если я связываю модель, как я могу вернуть эту модель из-за запроса?>
Подробнее здесь: https://stackoverflow.com/questions/297 ... om-request
Мобильная версия