diff --git a/app/Http/Controllers/StatusController.php b/app/Http/Controllers/StatusController.php index 649ab2da1..fe2ac6468 100644 --- a/app/Http/Controllers/StatusController.php +++ b/app/Http/Controllers/StatusController.php @@ -325,6 +325,7 @@ class StatusController extends Controller if ($changed === true) { $media->save(); + Cache::forget('status:transformer:media:attachments:'.$media->status_id); } return response()->json([], 200); diff --git a/resources/views/status/edit.blade.php b/resources/views/status/edit.blade.php index d69843552..52c325be9 100644 --- a/resources/views/status/edit.blade.php +++ b/resources/views/status/edit.blade.php @@ -3,89 +3,102 @@ @section('content')