Replace profile tab GET parameter by route
This commit is contained in:
parent
74a25eb670
commit
a607656607
9 changed files with 10 additions and 30 deletions
|
@ -538,7 +538,7 @@ function dfrn_poll_content(App $a)
|
|||
|
||||
switch ($destination_url) {
|
||||
case 'profile':
|
||||
DI::baseUrl()->redirect('profile/' . $profile . '?tab=profile');
|
||||
DI::baseUrl()->redirect('profile/' . $profile . '/profile');
|
||||
break;
|
||||
case 'photos':
|
||||
DI::baseUrl()->redirect('photos/' . $profile);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue