kopia lustrzana https://github.com/pixelfed/pixelfed
Update ProfileController, handle permalink redirect bug
rodzic
481314cd23
commit
75081e609a
|
@ -172,6 +172,8 @@ class ProfileController extends Controller
|
|||
|
||||
$user = $this->getCachedUser($username);
|
||||
|
||||
abort_if(!$user, 404);
|
||||
|
||||
return redirect($user->url());
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue