Merge pull request #492 from shikorism/fix/489-fix-copipe
チェックイン編集・流用時のフラグ周りの動作修正
This commit is contained in:
commit
d1f14ed271
@ -101,6 +101,7 @@ class Ejaculation extends Model
|
|||||||
return route('checkin', [
|
return route('checkin', [
|
||||||
'link' => $this->link,
|
'link' => $this->link,
|
||||||
'tags' => $this->textTags(),
|
'tags' => $this->textTags(),
|
||||||
|
'is_private' => $this->is_private,
|
||||||
'is_too_sensitive' => $this->is_too_sensitive,
|
'is_too_sensitive' => $this->is_too_sensitive,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
@ -144,7 +144,7 @@ class EjaculationController extends Controller
|
|||||||
'link' => old('link') ?? $ejaculation->link,
|
'link' => old('link') ?? $ejaculation->link,
|
||||||
'tags' => $tags,
|
'tags' => $tags,
|
||||||
'note' => old('note') ?? $ejaculation->note,
|
'note' => old('note') ?? $ejaculation->note,
|
||||||
'is_private' => is_bool(old('is_private')) ? old('is_private') : $ejaculation->note,
|
'is_private' => is_bool(old('is_private')) ? old('is_private') : $ejaculation->is_private,
|
||||||
'is_too_sensitive' => is_bool(old('is_too_sensitive')) ? old('is_too_sensitive') : $ejaculation->is_too_sensitive
|
'is_too_sensitive' => is_bool(old('is_too_sensitive')) ? old('is_too_sensitive') : $ejaculation->is_too_sensitive
|
||||||
],
|
],
|
||||||
'errors' => isset($errors) ? $errors->getMessages() : null
|
'errors' => isset($errors) ? $errors->getMessages() : null
|
||||||
|
Loading…
Reference in New Issue
Block a user