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

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();
}