Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0d7c33d

Browse files
committed
delete response
1 parent e3a487c commit 0d7c33d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎app/Http/Controllers/PostController.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ public function destroy(Post $post)
8686
{
8787
$post->delete();
8888

89-
return response()->json();
89+
return response()->json([
90+
'status' => 'success'
91+
]);
9092
}
9193
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /