1
0
Fork 0

Update FollowerController

This commit is contained in:
Daniel Supernault 2018-11-27 01:42:31 -07:00
parent 1aa8354f5a
commit 1073892c66
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 5 additions and 0 deletions

View File

@ -26,6 +26,11 @@ class FollowerController extends Controller
]);
$item = $request->input('item');
$this->handleFollowRequest($item);
if($request->wantsJson()) {
return response()->json([
200
], 200);
}
return redirect()->back();
}