Skip to content

Commit 4094b87

Browse files
author
Marc Cámara
authored
Merge pull request mcamara#325 from Jordy-A/master
Update LaravelLocalizationRedirectFilter.php
2 parents dd6b891 + 9818381 commit 4094b87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mcamara/LaravelLocalization/Middleware/LaravelLocalizationRedirectFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function handle( $request, Closure $next )
4545
// Save any flashed data for redirect
4646
app('session')->reflash();
4747

48-
return new RedirectResponse($redirection, 301, [ 'Vary' => 'Accept-Language' ]);
48+
return new RedirectResponse($redirection, 302, [ 'Vary' => 'Accept-Language' ]);
4949
}
5050
}
5151

0 commit comments

Comments
 (0)