We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96dec73 commit a9a3798Copy full SHA for a9a3798
src/Http/Controllers/ProfileAvatarController.php
@@ -18,7 +18,7 @@ public function __invoke(ProfileAvatarRequest $request)
18
19
$path = is_callable(ProfileAvatarRequest::$pathCallback) ? call_user_func(ProfileAvatarRequest::$pathCallback, $request) : $request::$path;
20
21
- $path = $request->file($request::$userAvatarAttribute)->store($path);
+ $path = $request->file($request::$userAvatarAttribute)->store($path, 'public');
22
23
$user->{$request::$userAvatarAttribute} = $path;
24
$user->save();
0 commit comments