Skip to content

Commit

Permalink
fix route not found
Browse files Browse the repository at this point in the history
  • Loading branch information
joelbutcher committed Apr 2, 2024
1 parent c9715d8 commit 894455d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Responses/OAuthProviderLinkFailedResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class OAuthProviderLinkFailedResponse implements OAuthProviderLinkFailedResponse
public function toResponse($request): RedirectResponse
{
if (class_exists(Jetstream::class)) {
return redirect()->to('profile.show');
return redirect()->route('profile.show');
}

return Socialstream::redirects('provider-link-failed')
Expand Down

0 comments on commit 894455d

Please sign in to comment.