mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update ProfileController, handle permalink redirect bug
This commit is contained in:
parent
481314cd23
commit
75081e609a
1 changed files with 2 additions and 0 deletions
|
@ -172,6 +172,8 @@ class ProfileController extends Controller
|
|||
|
||||
$user = $this->getCachedUser($username);
|
||||
|
||||
abort_if(!$user, 404);
|
||||
|
||||
return redirect($user->url());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue