encodePrimaryKey(auth()->user()->id) === request()->segment(3); } public function rules() { return [ ]; } }